【问题标题】:ParseUI ... does not contain bitcodeParseUI ... 不包含位码
【发布时间】:2017-05-21 23:53:38
【问题描述】:

一旦我似乎摆脱了所有语法错误,同时将我的项目转换为 Swift 3.0。

我现在打这个:

    ld: '/Users/......./ParseUI.framework/ParseUI(PFLogInViewController.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 中尝试了一些没有任何效果的选项更改后,我没有看到任何明确的解决方案来解决这个问题。 有人对此有简单而明确的答案吗?

【问题讨论】:

    标签: ios swift3 bitcode parseui


    【解决方案1】:

    在 XCode 中,在 Explorer 中选择您的项目 > 选择您的目标> 将“启用 Bitcode”设为否。然后重新编译您的代码。

    如果您在目标中启用 bitcode,则所有 pod 都需要启用 bitcode。但在你的情况下,Alamofire 看起来没有启用位码。因此,只要是这样,您就不能将“启用位码”选项设置为“是”。

    【讨论】:

    • 我试过这个没有成功。另外,我没有使用 Alamofire,也没有使用 pods(当时)。但我终于通过可可豆荚安装 Parse 解决了这个问题。我不完全知道为什么,但是这个错误现在已经消失了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-05
    • 2016-10-23
    • 2017-07-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多