could not reparse object file in bitcode bundle ?

1,507 views
Skip to first unread message

naths...@gmail.com

unread,
Feb 12, 2021, 10:35:56 AM2/12/21
to Google Mobile Ads SDK Developers
Hi everyone,

It's seems than with the latest Google-Mobile-Ads-SDK (7.67.0) there is an issue with iOS application using bitcode ?
Indeed when I archived the app (with XCode 11.7) I got this error message :
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1200.0.32.2.0_0' Reader: '1103.0.32.62_0')', using libLTO version 'LLVM version 11.0.3, (clang-1103.0.32.62)' for architecture arm64

If I recompile with, for example pod Google-Mobile-Ads-SDK (7.55.1), I do not have the error anymore.

Can you tell me which most recent version of Google-Mobile-Ads-SDK will succeeded with an app' that have bitcode enabled ? (I would like rather not to set bitcode to 'no' if possible).

Thank you very much for any response or suggestion.

 


Mobile Ads SDK Forum Advisor Prod

unread,
Feb 12, 2021, 12:35:48 PM2/12/21
to naths...@gmail.com, google-adm...@googlegroups.com
Hi there,

I was able to archive with bitcode the Mobile Ads SDK version 7.67.0, 7.69.0 and 8.0 in Xcode 12.4 for arm64. The error message sounds like you don't have the valid bitcode version because our SDK was built with a higher version of Xcode. You could upgrade Xcode. Feel free to elaborate on your situation if this solution doesn't work for you.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2CQPLa:ref

naths...@gmail.com

unread,
Feb 17, 2021, 11:40:15 AM2/17/21
to Google Mobile Ads SDK Developers
Hello Aryeh, 

Thank you for your reply !

The owner of the application did not give us "the go" to upgrade to Xcode 12 for now, because it would lead us to upgrade other sdks as well. 
This is the subject of another chargeable delivery for the owner, which is not a priority.
So we are forced to stay on Xcode 11 for now.

Where can i found in your documentation which version of Google-Mobile-Ads-SDK does or does not built with bitcode for Xcode 11 and Xcode 12 ?

Thank you once more for any help.

 

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 17, 2021, 12:47:12 PM2/17/21
to naths...@gmail.com, google-adm...@googlegroups.com
Hi there,

We currently don't have documentation. I had found a github readme of Xcode Clang versions. Your version is Xcode 11.5 which has clang-1103.0.32.62. while our SDK version 7.67.0 was compiled with Xcode 12 which has clang-1200.0.32.2.

I will raise up to my team your request to publicize which version of Xcode each of our SDK versions were created with in order to help those who want to match our SDK to already set bitcode setups. You may monitor our release notes for an update.
Reply all
Reply to author
Forward
0 new messages