xcodebuild is what the Xcode IDE uses under the hood to build your application, and what you use in things like CI servers to kick off the build from the command line. It uses your .xcproj or .xcworkspace files to develop what you need to build, so it might be too high for you.
In this case, xcodebuild uses clang and llvm. Clang has replaced gcc and is somewhat backward compatible so you would like to start, I would think.
source share