Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not reparse object file in bitcode bundle: 'Invalid bitcode version

Tags:

ios

bitcode

ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.39.2_0')', using libLTO version 'LLVM version 9.0.0, (clang-900.0.39.2)' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Note: - Enable Bitcode to No in Build Settings. Apple Reject on uploading build to itune.

like image 470
Anand Verma Avatar asked Dec 18 '18 09:12

Anand Verma


1 Answers

I've never seen this error before, but it looks to me like you are linking against a library that was pre-build with a newer, and unfortunately incompatible, compiler version.

The only options I can think of are to update your compiler or rebuild the library.

I would imagine this library isn't building by you, or you'd have tried that already. So, your only option seems to be updating your version of Xcode to be at least the same as was used for this library.

like image 69
Mattie Avatar answered Oct 01 '22 03:10

Mattie