问题
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