Question

I updated Xcode 5.0.1 to Xcode 5.1. Then I ran the app in simulator, it works fine without any issue. I ran it in device with developer provisioning profile, it worked. But when I tried to archive the app for adhoc distribution, it gave me lot of referenced form errors and so much of warnings.

enter image description here

I searched for the solution, but can't get that. Please help me to fix.

Was it helpful?

Solution

Looks like libraries you are using in your project are not compiled for arm64 architecture. Make sure you have updated libraries, you can check the architectures your library support using:

xcrun -sdk iphoneos lipo -info YOUR_LIB.a

Alternatively you can remove arm64 from ARCHS and VALID_ARCHS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top