Enable bitcode Xcode 7.1

我的梦境 提交于 2019-12-20 03:13:38

问题


I'm having this error in XCode 7.1 when building the application for iOS9: (...) MyoKit(TLMHub.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 arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

When building the application for the simulation, it works.

I've been searching and I can't find an option to enable bitcode. Any ideas?


回答1:


In project Navigator, select your project:

And then Select your project,click on build settings, and search for bitcode,and set BitCode to YES.

Make sure you click on All option instead of Basic.




回答2:


The issue is MyoKit is not compiled with Bitcode enabled. Unfortunately until that SDK supports Bitcode, you'll have to disable it for your project.



来源:https://stackoverflow.com/questions/34137810/enable-bitcode-xcode-7-1

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