Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 212
Azat Avatar asked Jun 18 '13 07:06

Azat


1 Answers

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)

like image 184
rizwan-ahmed Avatar answered Sep 22 '22 06:09

rizwan-ahmed