Unable to build openssl in Xcode 4.2.1

瘦欲@ 提交于 2019-12-13 04:14:57

问题


I could build openssl in xcode 3.5.2, but recently I upgraded to Xcode 4.2.1. Now when I try to build in the same old Xcode, I'm getting errors.

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

Cp: libcrypto.a: No such file or directory
Cp: libssl.a: No such file or directory

Can I have a solution for this?


回答1:


I found the solution for XCode 4. You need to change in "Build Phases" the text $PLATFORM_DEVELOPER_BIN_DIR/gcc-4.2 to $PLATFORM_DEVELOPER_BIN_DIR/gcc. Good luck.



来源:https://stackoverflow.com/questions/8486316/unable-to-build-openssl-in-xcode-4-2-1

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