Shell Script invocation error in xcode 5

一个人想着一个人 提交于 2019-12-06 08:11:49

What I did was first downloded the project https://github.com/x2on/OpenSSL-for-iPhone

These project was not built when Xcode 5 was in different location from default location, so for these project to build it has xcode 5 has to be in default location. Then I ran the file build-libssl.sh in terminal. It runs successfully only when xcode 5 is in default location. When the script runs successfully then libssl.a and libcrypto.a files are made. I directly included them in frameworks section of project. I removed the older sqlcipher and openssl projects and only included the files in 'include' directory of downloaded project and in sqlcipher sqlite3.c,sqlite3.h, and sqlite3ext.h files. Now there was no need of that two projects, and it built successfully in xcode 5 project.

cp: libCrypto.a No such file or directory,

Linux file systems are case sensitive. Use libcrypto.a, not libCrypto.a.

Cp:libssl.a No such file or directory

Same issue here. Use cp, not Cp.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!