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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top