Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode ios build linker command failed with exit code

I am trying to archive (create an IPA) for a project, but I get stuck with the following error...

ld: '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.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. file '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a' for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

Can anyone help me understand where the error could be? IS it in the google analytics library or somewhere else?

How would I go about getting the verbosity via Xcode to show me the calling code where the error threw?

Any help would be greatly appreciated.

like image 633
Anup Saund Avatar asked Jun 26 '26 22:06

Anup Saund


1 Answers

Bitcode is enabled in your project settings but your app was compiled without it. To fix this you can simply set Enable Bitcode in the project and library settings to No. Hope this helped!

like image 157
Jarett LeVan Avatar answered Jun 28 '26 13:06

Jarett LeVan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!