Xcode 7 beta 3 刚刚安装了一些“附加组件”(现在是版本 7.0 beta 3 (7A152u)),现在我遇到了编译器错误:
ld: '/<abbreviated>/Vendor/Analytics/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这篇 Google Code帖子是我发现的关于 GA 和 bitcode 的唯一提及。
如果我可以只为这个库禁用它而不是完全禁用位码,那就太好了。那可能吗?
这个答案为默认启用的位码提供了一种解决方法,这最终可能是对那个更通用的问题的欺骗。