开发者

Problem building project with Google Analytics lib in XCode 4

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.

Problem building project with Google Analytics lib in XCode 4

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.


You must use the latest GA SDK version for iOS. You can find it here: https://developers.google.com/analytics/devguides/collection/ios/resources

(The other answer didn't work for me).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜