Unable to link GoogleAnalytics 3.01 with XCode 5 (missing required architecture x86_64)

南楼画角 提交于 2019-11-28 04:19:13

You're not doing anything wrong. I'm pretty sure google has not yet provided a arm64 version of their libGoogleAnalyticsServices.a, which is really annoying ...it has been weeks since the public the release of Xcode 5GM.

For now, I guess only build for armv7, armv7s or remove google analytics until they get their head out of their pants.

UDATE: Finally fixed https://developers.google.com/analytics/devguides/collection/ios/resources

Select this option in the Architecture section in "Build Settings" and your code will run on iPhone 5S, I had the same trouble.

Ali

Good news everyone, fixed by the 3.03 release:

64-bit support is now available in v3.03 of the Google Analytics Services SDK for iOS. (Source)

I see on first screenshot that your project has 2 targets. Are you sure that libGoogleAnalyticsServices.a added to both targets? Linked frameworks may differ from target to target, so it's most common error this way... Also try remove GA from project, then Clean, then Clean Build Folder, then restart Xcode and add GA again =) Yesterday this helped me =)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!