When linking an iOS 9 app against Google Mobile Ads SDK v7.4.1 for iOS (as a framework) I get this error message:
GoogleMobileAdsSdkiOS-7.4.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.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.
What is the right way to overcome what looks like a Catch 22?
I've meanwhile found this in Apple's documentation:
For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
So turning bitcode off for the iOS app target should be a feasible approach for the time being.
Apple does not allow submissions to the app store using Xcode Betas. So there's no way you could release with bitcode at the moment.
Google might be waiting until iOS9 is out before they release any bitcode enabled libraries to avoid confusion.
https://forums.developer.apple.com/thread/5989
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With