1

After upgrading to Xcode 4.3.2. I'm getting a metric ton of build errors.

A whole line of them are error code 255

gcc-4.2: error trying to exec '/usr/bin/arm-apple-darwin11-gcc-4.2.1': execvp: No such file or directory
Command /usr/bin/gcc-4.2 failed with exit code 255

I noticed that there is no /usr/bin/arm-apple-darwin11-gcc-4.2.1 file on my machine. Could this be the source of the problem?

3

1 Answer 1

2

What's the output of this command?

$ printenv | grep "CC="

It might be honoring your C Compiler (CC) selection. I was getting similar errors (through cocoapods) and doing an

$ export CC=

fixed it for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.