Xcode error gcc-4.2 failed w/ exit code 1...HOW DO I FIX??

Discussion in 'iOS Programming' started by hssky97, Jun 1, 2011.

  1. macrumors regular

    Joined:
    Jan 20, 2010
    #1
    I was building an app and I received this unusual error.

    Command/Volumes/Developer/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

    Soooo....how do I fix?????
     
  2. macrumors 6502a

    Joined:
    Apr 1, 2007
    #2
    Needs more info. What code was it? Where did it break? This is basically just a generic compiler error message. Very likely it's a missing library or framework but there are many more options.
     
  3. thread starter macrumors regular

    Joined:
    Jan 20, 2010
    #3
  4. macrumors 6502a

    Joined:
    Apr 1, 2007
    #4
    Relevant bit:

    Code:
    i686-apple-darwin10-gcc-4.2.1: /Volumes/Developer/SOCKS/ SOCKS_Prefix.pch: No such file or directory
    As I mentioned header/lib ref missing.
     

Share This Page