gpt4 book ai didi

ios - -fembed-bitcode 在 6.0 之前的 iOS 版本上不受支持

转载 作者:IT老高 更新时间:2023-10-28 11:30:09 27 4
gpt4 key购买 nike

最近我下载了 xcode 7 beta 并遇到了错误:

6.0 之前的 iOS 版本不支持-fembed-bitcode

在不更改部署目标的情况下,是否有任何解决方法可以解决此问题?

提前致谢。

最佳答案

最近发现了这个,似乎暗示你需要为每个框架启用bitcode。

"Xcode 7 has a ENABLE_BITCODE option to embed bitcode in apps, app extensions, and frameworks. The option is turned on by default for iOS and is mandatory for watchOS projects submitted to the store. When bitcode is enabled for a target, all the objects, static libraries and user frameworks used when linking that target must contain bitcode. Otherwise, an error or a warning will be issued by the linker. (Note: missing bitcode is currently a warning for iOS, but it will become an error in an upcoming beta release of Xcode 7.) ENABLE_BITCODE should be consistently turned on for all the targets. If you use a library or framework provided by a third party, please contact the vendor for an updated version which contains bitcode." Dear God, do we need to wait for all libs to update? :S

来源(link)

如果您不打算支持 Apple Watch,您可以通过在项目和目标中搜索 BITCODE 来关闭该选项。将选项更改为否。

bitcode

关于ios - -fembed-bitcode 在 6.0 之前的 iOS 版本上不受支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30867544/

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