I have a third party tool which is configured using the compiler. The compiler I am using is the one which comes with Xcode 5.0.2. While I am aware of xcodebuild
, I believe that command is not the compiler per se but a tool which invokes the compiler, yes? So, where can I find the actual compiler used?
Use the following command to locate the compiler:
xcrun -find -sdk iphoneos clang
Note that the path could change with future Xcode releases, so you wouldn't want to hardcode the path returned by this somewhere, you would just want to use the result of this command to get the path.