2
votes

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?

2
Do you have the source to MyoKit? - trojanfoe
Just go to your project build settings and search for bitcode, and set it to YES - Teja Nandamuri
@Mr.T there isn't a bitcode option in build settings for Xcode 7.1, that's the problem that I have... - Mark
No, there is build option available for Xcode 7.1. May be you are looking at wrong place. - Teja Nandamuri
@Mr.T can you tell me where it is, please? I've been searching in different places and I couldn't find it, and more people on Stackoverflow have the same problem. Thank you! - Mark

2 Answers

2
votes

In project Navigator, select your project:

enter image description here

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

enter image description here

Make sure you click on All option instead of Basic.

0
votes

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.