@SamanthaLC:
At present (up to but not including 6.1.2) the iOS engines are built with llvmgcc42... However, with 6.1.2, we've tweaked things to ensure they build with the latest compilers with Xcode 5 as this is required for doing iOS7 builds. Since the binaries we generate (for devices) have to be built against different SDKs and thus different compilers (so we can support older versions of Xcode still), we use xcodebuild to build the variety of production binaries needed:
Code: Select all
BASEDIR=$(dirname $0)
cd $BASEDIR/..
./sdks/Xcode_3_2/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator4.3
./sdks/Xcode_4_2/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator5.0
./sdks/Xcode_4_3/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator5.1 GCC_VERSION=com.apple.compilers.llvmgcc42
./sdks/Xcode_4_5/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator6.0
./sdks/Xcode_4_6/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator6.1
./sdks/Xcode_5_0/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphonesimulator7.0
./sdks/Xcode_4_2/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphoneos5.0 ARCHS="armv6 armv7"
./sdks/Xcode_4_3/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphoneos5.1 ARCHS="armv6 armv7" GCC_VERSION=com.apple.compilers.llvmgcc42
./sdks/Xcode_4_6/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphoneos6.1 ARCHS=armv7
./sdks/Xcode_5_0/usr/bin/xcodebuild -project stage-mobile.xcodeproj -configuration Release -sdk iphoneos7.0 ARCHS=armv7
This is in tools/build-ios.osx.
(For reference, the changes in 6.1.2 related to building are to unset the default compiler in rules/Global Mobile.xcconfig, and the changes to the above file).