0

当我尝试使用 KIF 时,出现此链接器错误。有人知道它是什么吗?

ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Framework'
ld: file not found: -fobjc-arc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

感谢您的任何想法。

4

1 回答 1

0

我有很多次这样的事情发生在我身上。每次都是因为错过了安装KIF的一步。返回安装说明并确保正确设置所有配置。请特别注意标题路径的说明。我现在正在使用手机,否则我可以为您提供确切的设置。去仔细检查说明。如果您的设置正确,请在此处回复该信息,我们可以尝试一起解决。首先,请确保这些事情是正确的。完成后,清理项目(Cmd-shift-K),关闭项目,删除派生数据(最好通过终端),然后再次尝试构建)。

于 2015-10-11T21:13:50.890 回答