When i am trying to install my application on iPhone/iPad I am getting the following error. I am using new Xcode 4.5. What should I do to remove this error. I need to test my app on device.
file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/nishijain/Desktop/Backup SecondPrism/mobile/apps/SecondPrism/SecondPrism/Google Analytics SDK/libGoogleAnalytics.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks
You need to download the latest version of the SDK, according to the Changelog there is support for armv7s in Version 1.5.1. If the error still happens try an older version of Xcode (probably Xcode 4.4.1) which has no clue of armv7s and throws no error.
EDIT:
This should work too:
In your Build Settings remove armv7s from Valid Architectures.