0

一旦我似乎摆脱了所有语法错误,同时将我的项目转换为 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 中尝试了一些没有任何效果的选项更改后,我没有看到任何明确的解决方案来解决这个问题。有人对此有一个简单而明确的答案吗?

4

1 回答 1

0

在此处输入图像描述

在 XCode 中,在资源管理器中选择您的项目 > 选择您的目标 > 将“启用位码”设置为否。然后重新编译您的代码。

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

于 2017-01-07T13:49:22.683 回答