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