My project is a universal iPhone/iPad
app and it was all working fine in the previous version of XCode. I just upgraded and now when I try to build for the device (it works in the simulator), I get this build error:
Google Analytics SDK/Library/libGoogleAnalytics.a, file is universal but does not contain a(n) armv7 slice for architecture armv7"
I am greatly appreciative of any guidance or help.
You have to download the latest Google Analytics iPhone SDK you might have an old version which is not compatible with the iOS 4.3
latest Google Analytics iPhone SDK
Please try the following, This is a first aid only. You can build it with out any errors untill you find the latest verison of library that supports armv7.
Take the build settings and set the value for key Build Active Architecture Only
to Yes
.
Let get one thing straight. This is a temporary fix only. You have to update your library. Hope this helps somebody.
Extra : You can download the latest google analytics library which supports armv7 and armv7s from here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With