When building my application for release with UrbanAirship I get the following linker errors:
ld: warning: ignoring file ~/Library/Developer/Xcode/DerivedData/WCAP-dtexairuvoldlpgwhalbjmepdhbh/Build/Products/Release-iphoneos/AirshipKit.framework/AirshipKit, file was built for arm64 which is not the architecture being linked (armv7): ~/Library/Developer/Xcode/DerivedData/Project-dtexairuvoldlpgwhalbjmepdhbh/Build/Products/Release-iphoneos/AirshipKit.framework/AirshipKit
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_UAConfig", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_UAirship", referenced from:
objc-class-ref in NewsTableViewController.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Before I was able to build on my phone with no issues but when having issues when installing over TestFlight I switched the scheme to Release in order to debug on device and now I get these linker errors.
I've followed the starting guide on the documentation here multple times and still I get the same results. Any suggestions?
Comments
5 comments