To make it a little easier to use Xcode 3.2.6 from the command-line, create a link to the 3.2.6 version of xcodebuild. You will be asked to enter your password: Sudo xcode-select -switch "/Applications/Xcode.app/Contents/Developer" Once the installation completes, close the installer:Īnd you may eject the Command Line Tools. Start the installation by double clicking the installer, “Command Line Tools (Lion).mpkg” in this case: On Mountain Lion, you will be prompted to stop iTunes near the end of the installation: On Lion or above, you will not be able to use “System Tools” and may choose to use the “iOS SDK” and “Documentation” from Xcode 4.5.2:Ĭontinue through the pages to start the installation.
The minimum required options are “Unix Development” and “Mac OS X 10.4 SDK”, but if you're running Snow Leopard, you may elect to install everything. Open the Essentials item by clicking the arrow: Proceed through the various installation pages until you get to the “Custom Install” page: You will then get to the normal installation process: On Mountain Lion, the installer needs to restart itself:Īnd, since the Xcode 3.2.6 certificate has expired, you will be asked to accept it: This will start the installation while bypassing the version check. Open "/Volumes/Xcode Tools/XcodeTools.mpkg"Įxport COMMAND_LINE_INSTALL=1 open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg" Open a Terminal window and start the installation by entering the following commands: On Lion and Mountain Lion, the "Security & Privacy" section of System Preferences must be temporarily set to allow applications downloaded from "Anywhere", or Gatekeeper will prevent the package being opened. Locate the previously downloaded Xcode 3.x dmg on your system and double click it to have Finder verify and mount it: Safari will automatically uncompress the file, others may not.ĭownload the latest Unix/Linux source version of cmake from:ĭownload the latest version of pkg-config from: Make sure you save the file as "Build_wxwidgets.gz".
You must download the wxMac version 2.8.12 of wxWidgets from:ĭownload the " Build wxwidgets.gz" script that will be used to build wxWidgets for use with Audacity. Note that installing Xcode 5.x from the App Store will remove Xcode 4.x.Įnter “Xcode 4.5.2” in the search box on the left, press enter, and download the “Xcode 4.5.2” dmg:Įnter “Command Line Tools” in the search box on the left ("try "command" if you get no results), press enter and download the latest “Command Line Tools” dmg that corresponds to your version of OS X:
If you get Audacity building following the steps in this article then upgrade to Mavericks, you must install Xcode 5.0 or greater in order to continue building Audacity. If you are running Snow Leopard or newer, enter “Xcode 3.2.6” in the search box on the left, press enter, and download the “Xcode 3.2.6 and iOS SDK 4.3” dmg: If you are running Leopard, then enter "Xcode 3.1.4" in the search box on the left, press enter, and download the "Xcode 3.1.4 Developer DVD" dmg. Unless you're building release versions, the PPC support isn't absolutely necessary, but the SDK is required. Xcode 3.2.6 is the last version that officially supports the PPC architecture and the macosx10.4u SDK. Once registered, the available downloads are located here: To download Xcode, you will need to register at the Apple Developer site: These steps do not apply patches required to produce a build of Audacity for public release.Xcode 4 is strongly recommended on Lion or later (it is required on those systems for MacPorts, Fink and almost any other package management or development-related product). Xcode 4 (steps 2 and 7) is not required on Leopard and Snow Leopard.