mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-01 14:43:48 +01:00
Update mac build instructions.
This commit is contained in:
@@ -56,22 +56,33 @@ can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Mac
|
|||||||
|
|
||||||
sudo <path to Audacity source>/mac/scripts/build_wxwidgets
|
sudo <path to Audacity source>/mac/scripts/build_wxwidgets
|
||||||
|
|
||||||
You should now be able to build Audacity using either the Xcode application or
|
Check that this worked by looking for <path to wxWidgets>/bld_release_x86_64
|
||||||
the Xcodebuild command line tool.
|
containing library .o files. There should also be 3 other directories for
|
||||||
|
other combinations of debug/release i386/x86_64. If this step did not work,
|
||||||
|
then later steps to build Audacity won't either.
|
||||||
|
|
||||||
|
If building wxWidgets worked, you should now be able to build Audacity
|
||||||
|
using either the Xcode application or the Xcodebuild command line tool.
|
||||||
|
|
||||||
* Change directory to <path to Audacity source>/mac
|
* Change directory to <path to Audacity source>/mac
|
||||||
* Optionally, if you have built before, clean the Debug build with:
|
* Optionally, if you have built before, clean the Debug build with:
|
||||||
|
|
||||||
xcodebuild clean
|
xcodebuild clean
|
||||||
|
|
||||||
* If you have built the Release build, clean with:
|
* Or clean up other versions using some variant of:
|
||||||
|
|
||||||
xcodebuild clean -configuration Release
|
xcodebuild clean -configuration Release64
|
||||||
|
|
||||||
|
'Release64' is for the 64 bit build. 'Release' is for the 32 bit build.
|
||||||
|
'Debug64' is for 64 bit debug build, 'Debug' is for 32 bit debug build.
|
||||||
|
|
||||||
* Build Audacity and create DMG and ZIP bundles in
|
* Build Audacity and create DMG and ZIP bundles in
|
||||||
/private/tmp by typing the following in the terminal:
|
/private/tmp by typing the following in the terminal:
|
||||||
|
|
||||||
xcodebuild -configuration Release install
|
xcodebuild -configuration Release64 install
|
||||||
|
|
||||||
|
If you get errors about 'plist' at this stage, probably you skipped the step
|
||||||
|
of cleaning first.
|
||||||
|
|
||||||
* If you use the Xcode application, don't make any changes to
|
* If you use the Xcode application, don't make any changes to
|
||||||
Audacity.xcodeproj recommended by Xcode. In particular, be sure to leave the
|
Audacity.xcodeproj recommended by Xcode. In particular, be sure to leave the
|
||||||
|
|||||||
Reference in New Issue
Block a user