user2471780
user2471780

Reputation:

Not contain a(n) armv7s slice Error

In My PhoneGap Application The Application is working fine in developer Mode. But I Make Archive it give following Error.

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework/PhoneGap for architecture armv7s
collect2: ld returned 1 exit status
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

Please Help me.

Upvotes: 0

Views: 2269

Answers (2)

user1779765
user1779765

Reputation:

Go to Build Settings and Compare your settings to following screenshot. I Hope it will help for you.

Image

Upvotes: 2

Buntylm
Buntylm

Reputation: 7373

Try This and Hope will help you

  • Remove the support for any architecture armv7s from the project (target) -> Build Settings -> Valid Architectures:

Alternatively, you can set the flag for your debug configuration's

  • Change Build Active Architecure Only to Yes !

Upvotes: 0

Related Questions