SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

xcode 5 problems

I recently updated to Xcode 5 (against my better judgement) and now I get problems with the Appery Xcode export. The build succeeds if I use the Xcode simulators to test the app, but it fails if I build for the device (which I need to do in order to upload to the Apple App store).

Here are the errors:

ld: warning: ignoring file /Users/steve/Library/Developer/Xcode/DerivedData/Pittsfield_Assembly-gequlpyyfnrihpbqurkuwqggvwbb/Build/Intermediates/ArchiveIntermediates/PhoneGapTemplate/BuildProductsPath/Release-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (armv7s): /Users/steve/Library/Developer/Xcode/DerivedData/Pittsfield_Assembly-gequlpyyfnrihpbqurkuwqggvwbb/Build/Intermediates/ArchiveIntermediates/PhoneGapTemplate/BuildProductsPath/Release-iphoneos/libCordova.a
Undefined symbols for architecture armv7s:
"OBJC_CLASS$CDVPluginResult", referenced from:
objc-class-ref in CDVBarcodeScanner.o
objc-class-ref in PushNotification.o
"OBJC_METACLASS$CDVPlugin", referenced from:
OBJC_METACLASS$_ChildBrowserCommand in ChildBrowserCommand.o
OBJC_METACLASS$_CDVBarcodeScanner in CDVBarcodeScanner.o
OBJC_METACLASS$PushNotification in PushNotification.o
"OBJC_METACLASS$CDVViewController", referenced from:
OBJC_METACLASS$MainViewController in MainViewController.o
"OBJC_CLASS$CDVPlugin", referenced from:
OBJC_CLASS$_ChildBrowserCommand in ChildBrowserCommand.o
OBJC_CLASS$_CDVBarcodeScanner in CDVBarcodeScanner.o
OBJC_CLASS$PushNotification in PushNotification.o
"OBJC_CLASS$CDVViewController", referenced from:
OBJC_CLASS$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I did some Google research, but nothing has worked.

Any help would be appreciated so I can release again with Apple.

Thanks,

Steve

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

xcode 5 problems

dr3am3r.ua
Posts: 0
Joined: Tue Oct 15, 2013 8:36 pm

xcode 5 problems

That question on stackoverflow does not help, it worked before upgrade to xcode5 just fine...

dr3am3r.ua
Posts: 0
Joined: Tue Oct 15, 2013 8:36 pm

xcode 5 problems

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

xcode 5 problems

Thank you for the update! Glad you found the solution!

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

xcode 5 problems

So has the Appery export been updated to work with Xcode 5? If not, is there an anticipated date when it will be compatible.

For me, the fix was to remove Xcode 5 and re-install Xcode 4.6. But eventually I would like to move to Xcode 5 but I can't do this until I know that the Appery Xcode export will be supported properly in Xcode 5.

Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

xcode 5 problems

Hi Steve,

This is planned for January release.

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

xcode 5 problems

I just received an email from Apple saying beginning Feb 1st all app submissions and updates must be built using Xcode 5.

Will Appery be updated to fix the problems associated with Xcode 5 when exporting my project before Feb 1st? I hope so!

Thanks,

Steve

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

xcode 5 problems

Yes, we are upgrading to use xCode 5.

Return to “Issues”