Xcode build errors:
Unsupported compiler 'GCC 4.2′ selected for architecture 'i386′
Decision:
This may be caused by importing the project for the pre-iOS 5 SDK into an xcode copy only with the iOS 5 SDK.
To fix it,
Click Project → Build Settings. Then in the "Build Options" section, this is a compiler entry for C / C ++ / Objective-C. Select Apple LLVM Compiler 3.0.
There is a possibility that this may affect other aspects of your binaries, since you are using a new compiler, therefore YMMV. That being said, until now it has not caused me any problems.
sinh99
source share