

Optionally, one of the following options can be passed as the first argument to XcodeLegacy.sh, to limit its operation: Please check the script contents before executing it. With the "install" or "uninstall" arguments, the script uses sudo to become root, and will thus ask for your password. The script takes one argument, which can be "buildpackages" (to extract components from the legacy Xcode downloads to the current directory), "install" (to install the components in Xcode 4-10), "cleanpackages" (to delete the extracted components from the current directory), "uninstall" (to uninstall the components from Xcode 4-10). Open a Terminal application, change to the directory where XcodeLegacy.sh, and make it executable, as in:Įxecute the script by typing. However, if you want to enhance the XcodeLegacy script to also include those components, I'll gladly integrate your modifications. Note: There may be similar tips to compile for older iOS (not Mac OS X) versions, but I don't develop for iOS. The script also fixes a few known bugs in the 10.4, 10.5 and 10.6 SDK.

GCC 4.0, GCC 4.2 and LLVM GCC 4.2 Xcode plugins.GCC 4.0, GCC 4.2 and LLVM GCC 4.2 compilers.I made the script XcodeLegacy.sh to extract these components (the links work if you sign in to Apple Developer first) from Many components were removed in recent versions of Xcode, the most notable being the Mac OS X 10.6 SDK, which is required to build software using the Carbon API (such as wxWidgets 2.8). Legacy components for Xcode 4-12 (deprecated compilers and Mac OS X SDKs).
