I have just installed new Xcode 7 and the project which which I was developing already in Xcode 6.4 tried to run and found this error.
ld:'/Users/aliasadullah/Dropbox/DetectPhoneCall 2/DetectPhoneCall/parse.framework/parse(PFAnalytics.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)
Just select your target Build Settings and change the Enable Bitcode option to No.
I was going to post this as a comment, but I am surprised that people are just posting workarounds or explanation of what Bitcode is without addressing the question. Hence I am posting it as an answer.
Bitcode is something that the SDK provider needs to enable in the SDK itself. Until that happens, you will not be able to do a build with the Enable Bitcode
flag in the Build Settings
of Xcode set to Yes
. Your best option is to check if the latest version of Parse SDK is updated to support Bitcode. You can either check the release notes, or brute force check by using the new SDK in your project and then try to compile it, or contact the library provider directly to check if Bitcode is enabled in a particular version. If all these result negative, then you will have to disable bitcode for the time-being. You can do this by: Build Settings > Enable Bitcode > No
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With