嗨,我试着用Xcode 7和IOS-9运行Alljoyn聊天示例,但面临以下错误:
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我已经从项目和目标禁用了bitcode设置,但找不到解决这个问题的任何方法。有什么解决办法吗?或者任何替代方案,我怎样才能成功地运行这个演示。
发布于 2015-10-26 09:12:35
您需要添加openSSL、libcrypto.a和libssl.a静态库。
您可以使用以下构建脚本从源代码中获得它:https://github.com/x2on/OpenSSL-for-iPhone
发布于 2015-11-23 04:40:30
在构建设置中将ENABLE_BITCODE切换为否帮助我
https://stackoverflow.com/questions/33341388
复制相似问题