gpt4 book ai didi

xcode - iOS 9 中的新警告 : "all bitcode will be dropped"

转载 作者:行者123 更新时间:2023-11-30 13:10:01 26 4
gpt4 key购买 nike

我的应用中收到了有关 Google 框架的新警告:

(null): URGENT: all bitcode will be dropped because '/Users/myname/Library/Mobile Documents/com~apple~CloudDocs/foldername/appname/GoogleMobileAds.framework/GoogleMobileAds(GADSlot+AdEvents.o)' was built without 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. Note: This will be an error in the future.

Xcode 7 给了我大约 204 个关于这个相同概念的警告,但我无法解决这个问题。另外,我从我的应用程序访问网络时遇到问题。这是来自调试区域的错误:

-canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"

所有这些问题在 iOS 8 中都不存在。

最佳答案

您的库是在没有位码的情况下编译的,但在您的项目设置中启用了位码选项。在目标build设置和库build设置中对启用位码NO以删除警告。

对于那些想知道是否需要启用位码的人:

For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode.

https://help.apple.com/xcode/mac/current/#/devbbdc5ce4f

关于xcode - iOS 9 中的新警告 : "all bitcode will be dropped",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38845961/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com