1

您好我正在尝试使用 Xcode 7 和 IOS-9 运行 Alljoyn ios 聊天示例,但遇到以下错误:

    ld: warning: directory not found for option '-L/build/Debug-iphoneos'
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: cannot parse the debug map for 
"/Users/myUserName/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/AllChatz.app/AllChatz":
No such file or directory

我已从项目和目标中禁用位码设置,但没有找到解决此问题的任何方法。有什么解决办法吗?或任何替代方法我如何成功运行此演示。

4

2 回答 2

2

在构建设置中将 ENABLE_BITCODE 切换为 NO 对我有帮助

于 2015-11-23T04:40:30.893 回答
0

您需要添加 openSSLlibcrypto.alibssl.a静态库。

您可以使用此构建脚本从源代码获取它:https ://github.com/x2on/OpenSSL-for-iPhone

于 2015-10-26T09:12:35.810 回答