Unsupported compiler 'com.apple.compilers.llvmgcc42' xcode 5 DP
I have a project which contains Geos and Proj inside it. Before Xcode 5 I compiled them with LLVM GCC 4.2 compiler, but in Xcode 5 DP I get an error about unsupported compiler. Choosing another compiler get to compilation errors depends on syntax. How can I fix this trouble?
Change your compiler for C/C++/Objective-C:
Xcode > Target > Build Settings > Build Options > Compiler for C/C++/Objective-C
Select Default compiler (Apple LLVM x.y)
If you are compiling from the command line (like I do when building GEOS and proj4) The following command will find the correct compiler for you and run it.
xcrun --sdk iphoneos clang
Or use iphonesimulator instead of iphoneos if you want to build for the sim.