问题
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