Reputation:
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
Reputation:
Go to Build Settings and Compare your settings to following screenshot. I Hope it will help for you.
Upvotes: 2
Reputation: 7373
Try This and Hope will help you
armv7s
from the project (target)
-> Build Settings
-> Valid Architectures
: Alternatively, you can set the flag for your debug configuration's
Build Active Architecure Only
to Yes
!Upvotes: 0