login about faq

When I use the version on Xcode 7.0.3, I get the following error when building:

ld: './libchilkatIos.a(CkoBz2.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

The release notes for this build say that bitcode is enabled. For now I've turned off bitcode (it's broken anyway, according to Apple) but you might want to look at the libraries again and recompile them, just to make sure bitcode is on.

asked Oct 01 '15 at 13:56

AHahn2419's gravatar image


Check to make sure you downloaded the very 1st download listed on this web page: http://www.chilkatsoft.com/downloads_ios.asp

The direct download link is http://www.chilkatsoft.com/download/


answered Oct 01 '15 at 14:13

chilkat's gravatar image

chilkat ♦♦

That is the version I'm working with. I downloaded it again just to be sure, ran the 'makeUniversalLib.sh' script, dragged the libchilkatIos.a file into the project (replacing the old version), did a clean, and built the project, only to get the same error.

(Oct 01 '15 at 15:09) AHahn2419

I tested with Xcode 7.0, and did not encounter the problem... The Chilkat sources are definitely compiled with -fembed-bitcode

Very strange...


answered Oct 01 '15 at 16:30

chilkat's gravatar image

chilkat ♦♦

Did you try with the library that's created by running the makeUniversalLib.sh script? There's a message in the dev forums that says using lipo (and possibly libtool, though they don't say so) somehow strips bitcode from the resulting file.

There's also this thread on the forums: https://forums.developer.apple.com/thread/3971#11560 that says object files are handled differently when compiling for bitcode.

(Oct 04 '15 at 15:40) AHahn2419
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 01 '15 at 13:56

Seen: 770 times

Last updated: Oct 04 '15 at 15:40

powered by OSQA