cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6500) Cordova requires arm64 architecture
Date Thu, 24 Apr 2014 23:33:14 GMT

    [ https://issues.apache.org/jira/browse/CB-6500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980492#comment-13980492
] 

Shazron Abdullah commented on CB-6500:
--------------------------------------

The 64 bit binary includes a 32 bit slice, so it runs on all devices. However due to this,
during link time all code must have a 64-bit slice, which includes your libraries of course
(contact your vendor for an update).



> Cordova requires arm64 architecture
> -----------------------------------
>
>                 Key: CB-6500
>                 URL: https://issues.apache.org/jira/browse/CB-6500
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 3.4.0
>         Environment: OSX
>            Reporter: Song Zheng
>
> In project settings, developers are now required to add arm64 under valid Architectures
build settings. If we do not want to support arm64 or are unable to (because of other SDK
dependency), our app will no longer work and get the following compile errors: 
> undefined symbols for architecture armv7:
>   "_OBJC_CLASS_$_CDVPlugin", referenced from:
>       _OBJC_CLASS_$_OpenTokPlugin in OpenTokPlugin.o
>   "_OBJC_METACLASS_$_CDVPlugin", referenced from:
>       _OBJC_METACLASS_$_OpenTokPlugin in OpenTokPlugin.o
> ...
> To reproduce:
> 1. Create new project (Cordova create YourApp)
> 2. Add ios platform ( Cordova plaform add ios )
> 3. Open xcode ( open YourApp/platform/ios/...xcodeproj )
> 4. Change project build settings ( Valid Architectures to only armv7 - remove armv7s
and arm64 )
> 5. Change project build settings (Build Active Architecture Only - No )
> Result: 
> undefined symbol errors during compile time. 
> This was a breaking change from Cordova v 3.4.0-0.1.3



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message