【问题标题】:Linker error while using KIF on xcode6在 xcode6 上使用 KIF 时出现链接器错误
【发布时间】:2015-02-08 13:43:25
【问题描述】:

当我尝试使用 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)

感谢您的任何想法。

【问题讨论】:

标签: ios objective-c linker-errors kif kif-framework


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2012-09-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多