0

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?

Peter DeWeese
  • 18,141
  • 8
  • 79
  • 101
chetan
  • 633
  • 1
  • 10
  • 26

1 Answers1

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.

Chadwick
  • 12,555
  • 7
  • 49
  • 66
javbaezga
  • 26
  • 1
  • Hi Chadwick,javbaezga, can u be a bit brief, coz even changing to gcc from gcc-4.2, Im getting same error? – chetan Dec 15 '11 at 09:07