Xcode linker error-armv7 slice architecture

Archive error while compiling in .ipa

I use:

Mac OS X Leopard 10.6.7

Xcode 4.3 is stable.

Clear and create an error in the simulator.

But

The archive for Adhoc in accordance with the latest iOS SDK (iOS 4.3) does not work.

The error is as follows:

Apple Mach-O Linker Error

setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 ..

ld: in / Users / bird / Desktop / IPHONE / test / Classes / Libraries / FlurryLib / libFlurry.a, the file is universal, but does not contain (n) armv7 slice for armv7 architecture

Team / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin / gcc-4.2 failed to create code 1

It's amazing how to solve this.

+4
source share
1 answer

It seems that libFlurry does not support armv7s .

click "Project", go to "Build Settings" β†’ find "valid architectures" and remove "armv7s" from the list.

+1
source

All Articles