我已经在xcode中安装了OpenSSL用于收据验证,但它不起作用。
我下载了openssl.xcodeproj和openssl-1.0.1f。我解压openssl-1.0.1f并将openssl.xcodeproj添加到我的项目中。
我将Header Search Path编辑为:
代码语言:javascript运行复制 /Users/marko/Documents/Razvoj/BIView\ Mobile\ New\ Version/openssl/include/openssl我在构建阶段下的Target Dependencies中添加了libcrypto.a
并在Link Binary With Libraries中添加了libcrypto.a
如http://atastypixel.com/blog/easy-inclusion-of-openssl-into-iphone-app-projects/中所述。
但是当我构建项目时,它会因为错误而停止:
代码语言:javascript运行复制clang: error: no such file or directory: '/Users/ .... -bmgslnakszsfovecplbzoslykrxo/Build/Products/Debug-iphoneos/libcrypto.a'为什么?