3

我给你写信是因为我非常需要一些帮助。

我正在尝试从 Xcode 将应用程序编译到我的 iPhone,但是,当我按下运行时,我一直遇到出现此错误的问题:

ld: warning: directory not found for option '-F2'
ld: '/Users/[My-name]/Documents/XCode Projects/Store Testing Projects Here/BallGame 1.1/StartApp.framework/StartApp(STAJsonAd.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

1
  1. 你有多个目标吗?
  2. 您可以将 Build Settings→Build Options→Enable BitCode 中的值更改为 NO。
于 2015-10-29T03:06:08.547 回答