Page 1 of 1

xcode 5 problems

Posted: Sat Sep 28, 2013 12:09 am
by SteveLacy

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


xcode 5 problems

Posted: Sat Sep 28, 2013 12:52 am
by maxkatz

xcode 5 problems

Posted: Tue Oct 15, 2013 8:38 pm
by dr3am3r.ua

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


xcode 5 problems

Posted: Wed Oct 16, 2013 2:50 pm
by dr3am3r.ua

xcode 5 problems

Posted: Wed Oct 16, 2013 3:21 pm
by Kateryna Grynko

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


xcode 5 problems

Posted: Wed Nov 13, 2013 6:05 pm
by SteveLacy

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!


xcode 5 problems

Posted: Wed Nov 13, 2013 7:12 pm
by Kateryna Grynko

Hi Steve,

This is planned for January release.


xcode 5 problems

Posted: Tue Jan 14, 2014 3:19 am
by SteveLacy

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


xcode 5 problems

Posted: Tue Jan 14, 2014 5:30 am
by maxkatz

Yes, we are upgrading to use xCode 5.