Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: Invalid bitcode version (Producer: '800.0.35.0_0' Reader: '703.0.31_0')

When I try to Archive my application on Xcode 7.3.1, I am getting following error:

error: Invalid bitcode version (Producer: '800.0.35.0_0' Reader: '703.0.31_0') clang: error: linker command failed with exit code 1 (use -v to see invocation)

I was able to successfully Archive my app yesterday, can any one please help me?

like image 302
Vaisakh Avatar asked Aug 10 '16 13:08

Vaisakh


People also ask

What is enable Bitcode?

Enable Bitcode Bitcode is an Apple technology that enables you to recompile your app to reduce its size.


2 Answers

i had this error before ... you may try the following solution it worked for me

search for bitcode keyword in app --> Build Settings and change it to NO then archive again -->

it should work fine now

enter image description here

like image 198
Amr Angry Avatar answered Oct 12 '22 23:10

Amr Angry


Install Xcode 8: https://developer.apple.com/download/

Xcode 8 GM seed may be used to submit apps to the App Store.

More info: In my case I updated to the latest Facebook iOS SDK 4.15.1. Since that library was updated with Xcode 8 and I was still using Xcode 7.3.1 it caused the error.

https://developers.facebook.com/docs/ios/change-log-4.x

Updated for Xcode 8 GM and iOS 10.

So, double check 3rd party libraries.

Or if you don't mind disabling bitcode: Go to build settings search bitcode and change "Enable Bitcode" to "No".

like image 32
Nate Avatar answered Oct 12 '22 23:10

Nate