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

Blair Vanderhoof commented on CB-6223:
--------------------------------------

I've confirmed that Shazron's instructions work for me and my app is running on 
a device with IOS 7.1 built with Xcode 5.1.  You need to make sure you delete 
all of those options under Architectures as he mentions for both your project 
and CordovaLib on both Project and Target sections.  Make sure to add the arm64 
to valid architectures on all of those as well.  Finally, you need to make 
those code changes to the two files after you run cordova build and before you 
open xcode.  Just make sure the files aren't being overwritten on project 
creation.

> Xcode 5.1 (5B130a) build errors
> -------------------------------
>
>                 Key: CB-6223
>                 URL: https://issues.apache.org/jira/browse/CB-6223
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Blair Vanderhoof
>         Attachments: 3.5.0_CordovaLib_BuildSettings.png, 
> conditional_architectures.png
>
>
> cordova 3.4.0-0.1.3
> Xcode Version 5.1 (5B130a)
> IOS 7.1
> After updating command line tools, Xcode and my phone's IOS to 7.1, I can no 
> longer build a project even when creating from scratch.
> I get about 12 errors, some related to plugins:
> {code}
> ...
> ld: warning: ignoring file 
> /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a,
>  missing required architecture arm64 in file 
> /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a
>  (2 slices)
> Undefined symbols for architecture arm64:
>   "_OBJC_CLASS_$_CDVPlugin", referenced from:
> ...
> {code}
> Lot's of Apple Mach-O Linker errors.
> Also see: 
> http://stackoverflow.com/questions/22334680/xcode-5-1-libcordova-a-architecture-problems



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

Reply via email to