Unsupported compiler 'com.apple.compilers.llvmgcc42' xcode 5 DP

Azat picture Azat · Jun 18, 2013 · Viewed 23.4k times · Source

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?

Answer

user2523620 picture user2523620 · Jun 26, 2013

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)