Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDK does not contain bitcode ios

In one of my project i am integrating paytab ios sdk while integration error occurs that is

a(PayTabCardReaderViewController.o)' does not contain bitcode. I have try with enable bitcode=No

but after enable bitcode=no it show me more 40 erros,any one know can we disable bitcode for only 1 sdk/library only ?

Error: a(PayTabCardReaderViewController.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)

like image 386
Jaydeep Chauhan Avatar asked Oct 18 '22 15:10

Jaydeep Chauhan


1 Answers

Solution You have to disable bitcode option in the "Build Settings" tab on the workspace / project level. Do not forget CocoaPods if you use it. Manual : how to ENABLE_BITCODE in xcode 7?

What's the "Bitcode"? Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.

enter image description here

like image 73
Blazej SLEBODA Avatar answered Oct 21 '22 07:10

Blazej SLEBODA