ios – Xcode 5- clang:错误:链接器命令失败,退出代码1(使用-v查看调用)

前端之家收集整理的这篇文章主要介绍了ios – Xcode 5- clang:错误:链接器命令失败,退出代码1(使用-v查看调用)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我为我的移动应用程序项目使用 xcode 5.我尝试构建项目时收到此错误.
ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'
    ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
    ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'
    ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
    ld: framework not found sqlcipher
    clang: error: linker command Failed with exit code 1 (use -v to see invocation)

ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'


ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'


ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'


ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'


ld: framework not found sqlcipher


clang: error: linker command Failed with exit code 1 (use -v to see invocation)

为什么?

解决方法

错误是因为您的项目中缺少一些库.

检查您的构建阶段 – >链接二进制与图书馆.您的框架中的任何一个可能已被删除.

添加它并清理并构建您的项目.它应该工作正常

希望它可以帮助你.

猜你在找的iOS相关文章