From 01a95c50bafd81faa203f207d7d07e6ea843157e Mon Sep 17 00:00:00 2001 From: Gale Andrews Date: Fri, 12 Feb 2016 14:31:20 +0000 Subject: [PATCH] Clarify Xocde 4.3.3 for Lion has the 10.6 SDK... ...in spite of what Apple's Downloads page says. --- mac/Build.txt | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/mac/Build.txt b/mac/Build.txt index 845ae5b1c..b546ba0e1 100644 --- a/mac/Build.txt +++ b/mac/Build.txt @@ -3,38 +3,40 @@ is 10.6. To build Audacity using Xcode 5.1 or newer, you need to extract the 10.6 SDK from an earlier version of Xcode. In the instructions below, Xcode 4.3.3 (for the 10.6 SDK) and -Xcode 5.1.1 will be used. Xcode 6.1.1, 6.3, 6.4.1, and 7.0 +Xcode 5.1.1 will be used. Xcode 6.1.1, 6.3, 6.4.1, and 7.1 have been verified to work as well. -1) Download Xcode 5.1.1 or greater and install it to /Applications -2) Download Xcode 4.3.3 and open it in Finder -3) Right click the "Xcode.app" bundle and select "Show Package Contents" -4) Navigate down the directories to get to: +1) Download Xcode 5.1.1 or greater and install it to /Applications. +2) Download Xcode 4.3.3 (it includes the 10.6 and 10.7 SDK's despite + the downloads page says it only has the 10.7 SDK). +3) Open the DMG in Finder. +4) Right-click the "Xcode.app" bundle and select "Show Package Contents". +5) Navigate down the directories to get to: - Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ + Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ . -5) Copy the MacOSX10.6.sdk folder to: +6) Copy the MacOSX10.6.sdk folder to: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ Xcode is now ready. -6) Download wxWidgets. We currently require version 3.0.2, which can be downloaded from: +7) Download wxWidgets. We currently require version 3.0.2, which can be downloaded from: http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2 -7) Once the download is complete, untar it (your browser may have already done this): +8) Once the download is complete, untar it (your browser may have already done this): - tar xf wxWidgets-3.0.2.tar.bz2 + tar xf wxWidgets-3.0.2.tar.bz2 . -8) Apply the following fixes to wxWidgets: +9) Apply the following fixes to wxWidgets: cd wxWidgets-3.0.2 - patch -p0 -i /mac/wxMac_additions/wxMac-3.0.2-fixes.patch + patch -p0 -i /mac/wxMac_additions/wxMac-3.0.2-fixes.patch . -9) And finally build/install wxWidgets: +10) And finally build/install wxWidgets: - sudo /mac/build_wxwidgets + sudo /mac/build_wxwidgets . You should now be able to build Audacity using either the Xcode application or the xcodebuild command line tool.