chetan
chetan

Reputation: 643

Unable to build openssl in Xcode 4.2.1

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?

Upvotes: 0

Views: 2550

Answers (1)

javbaezga
javbaezga

Reputation: 26

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.

Upvotes: 1

Related Questions