如何使用启用了位码的xcode构建静态库?
Xcode 7引入了Bitcode,这是一种LLVM中间二进制文件,这意味着Apple的服务器无需我的参与即可针对不同的体系结构重新编译我的应用程序。 在Lookback上,我随我们的库一起分发了一个静态归档框架。似乎,当您使用除“构建和存档”之外的任何内容进行构建时,位代码实际上并没有释放到我的库中,并且任何在其应用程序中与我的库进行链接并尝试执行启用了位代码的构建和存档的人都将获得其中之一。两个警告: ld: 'Lookback(Lookback.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. (如果lib是用Xcode 6构建的) ld: warning: full bitcode bundle could not be generated because 'Lookback(Lookback.o)' was built only with bitcode …