admob - 使用适用于 iOS 的 Google 移动广告 SDK v7.4.1 (GoogleMobileAdsSdkiOS-7.4.1) 和 bitcode 进行应用瘦身

标签 admob ios9

将 iOS 9 应用与适用于 iOS 的 Google 移动广告 SDK v7.4.1(作为框架)链接时,我收到以下错误消息:

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.



什么是克服看起来像 Catch 22 的正确方法?
  • 谷歌似乎没有提供启用位码的版本(或者是吗?)
  • 如果我为我的应用程序禁用位码,我可能会被苹果拒绝(或者我不会?)
  • 最佳答案

    我同时在 Apple 的 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.



    所以暂时关闭iOS应用目标的bitcode应该是一个可行的方法。

    关于admob - 使用适用于 iOS 的 Google 移动广告 SDK v7.4.1 (GoogleMobileAdsSdkiOS-7.4.1) 和 bitcode 进行应用瘦身,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32073298/

    相关文章:

    ios - 根据横幅 View 的外观调整布局

    ios - UIApplicationShortcutItem 不启动

    swift - 初始 View Controller 应该调用 "deinit"吗?

    ios - Unity Game 不会使用 GoogleMobileAds 构建

    android - 我不断收到 configChanges : String types not allowed error. 即使目标 API 设置为 13

    android - AdMob 仅显示测试横幅

    ios - SKPaymentQueue.canMakePayments() 总是返回 true

    android - 如何修复 "ADS AND CONTENT OVERLAP"

    iOS 胖二进制文件 : should every arch include bitcode?

    ios9 - 在iOS9.0中,MPVolumeSlider值未保持正确的值,它始终为0.0