objective-c - Shell 脚本调用错误

标签 objective-c ios openssl xcode4.2 sqlcipher

我在我的项目中使用 open ssl。我在 xcode 4.0.2 中成功运行了这个项目。最近我更新到 XCode 4.2。但它显示构建错误。这是错误日志

Make[1]: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2: No such file or directory

有人可以帮忙吗?

谢谢

最佳答案

扎克,

你在使用 the openssl-xcode project我们 (Zetetic) 发布用于 SQLCipher ?如果是这样,您应该能够通过从 Github 更新到最新版本的 openssl-xcode 和 sqlcipher 来解决这个问题。如果您使用 git 克隆它们,这应该可以毫无问题地更新它们:

$ cd your_project/openssl-xcode
$ git pull origin master
$ cd your_project/sqlcipher
$ git pull origin master

构建脚本已更新,可用于 Xcode 4.2 和 LLVM,应该可以顺利运行。我们更新了 the tutorial也适用于 Xcode 4.2。

关于objective-c - Shell 脚本调用错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7868573/

相关文章:

ios - Xcode 8 非常慢的 Swift 编译

ios - 如何给透明的 UIView 添加阴影?

python - Google Analytics API - 我可以使用自己的 Google 帐户向其他人显示报告吗?

c - 从 Openssl 对 AES 和 RC2 进行基准测试——为什么 AES 更快?

ios - 在 ios 中上传或下载图像的最佳方式。 FTP 与 HTTP

ios - 如何获得两个具有多个小数位的 NSDates 之间的年份差异

ios - UITableViewController 不会调用 cellForRowAtIndexPath 但 numberOfSectionsInTableView 和 numberOfRowsInSection 设置正确

ios - 持续后台更新位置

c - OpenSSL 函数 EVP_PKEY_keygen 中的内存泄漏

iphone - UITableViewCell 的 textLabel.text 部分被省略号替换