gpt4 book ai didi

xcode - 更新到 Xcode 7 后出错

转载 作者:行者123 更新时间:2023-12-02 13:03:24 25 4
gpt4 key购买 nike

我正在使用 Ionic Framework 开发移动应用程序,我刚刚收到非常奇怪的错误,它破坏了我的整个构建。

'myapp/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.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. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

这发生在 .在升级到新的 Xcode 7.0 版本之前,它运行得很好。我尝试禁用该项目的 BITCODE,但该应用程序的 Facebook 功能无法按预期工作。

编辑

如果我为项目禁用 BITCODE,Facebook 插件将打开浏览器而不是应用程序,因此在这种情况下禁用 BITCODE 不是解决方案。

最佳答案

从 Xcode 7 开始,BitCode 默认启用。在 bundle 中的所有应用和框架不包含位码之前,您都会收到此错误。

要删除此警告,您可以在“build设置”中禁用此功能

build设置>全部>构建选项>启用位码 = 否 enter image description here

关于xcode - 更新到 Xcode 7 后出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32636622/

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