I ran into this issue while trying to build my project with TesseractOCR.framework:
ld: '/Users/username/Documents/MyProject/TesseractOCR.framework/TesseractOCR' 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)
Hi, I think you need to go to your project target (and/or tesseract framework build settings if you imported from cocoapods) build settings, search for 'enable_bitcode' and set it to 'no'.
I ran into this issue while trying to build my project with TesseractOCR.framework:
Here is all of my linked library:
CoreImage.framework libstdc++.tbd TesseractOCR.framework
P.S. I can't disable bitcode for other reasons, and I can't seems to succeed on building it from scratch.