This section page describes the process of installing and performing basic testing of FreeSWITCH™ and its prerequisites on macOS 10.12, OS X 10.11, and 10.10. Instructions for older releases are located at the Mac OS X ArchiveFreeSWITCH™ installation methods available for the macOS releases below. It is part of the FreeSWITCH™ macOS documentation.
Weekly testing of the FreeSwitch Master Development version is suspended due to build errors since August 1 2021.
macOS testing was performed
only on Intel Macs, M1 Arm testing may begin if macOS building resumes.
All macOS versions are installed into new volumes with the latest Apple Command Line Tools. Upgraded systems are never used.
Upgraded macOS or Xcode?
Prerequisites Previously Installed Differently?
If prerequisites were previously installed using methods other than described here, there may be problems.
This procedure installs a significant amount of software, all of it can be removed. However, some of the Apple Command Line Tools, part of Xcode may remain. There is no problem leaving these small parts installed, but to restore to a point where nothing was installed a backup is required before starting this procedure.
Terminal Application Preferences
The Terminal application is used extensively during installation, and to start FreeSWITCH™. The following changes are recommended to save time:
- Copy Terminal in the Applications/Utilities folder into the Dock for quick access.
- Start the Terminal application by clicking it in the dock. Then open its preferences panel.
- In Settings–>Profiles–>Window change the Window Size to larger values such as 140x48 to reduce having to resize the window often.
- In Settings–>Profiles–>Window set Scrollback to "Limit to Available Memory" or a larger number. Many messages are produced that may be needed for problem analysis.
- In Settings–>Profiles–>Shell set Prompt before closing to "Only if there are processes other than:". This prevents the Terminal window from closing when FreeSWITCH™ is shutdown if it started automatically, which would result in the loss of all messages in the window. This is useful during debugging. If FreeSWITCH™ started manually the window does not close.
History for older releases is at the macOS Archive.
This is the easiest method to install FreeSWITCH™ and is a good way to get the feel of FreeSWITCH with the least time and effort. The disadvantages are that it can only install the current production version and is very limited because additional modules cannot be easily built if they are not part of the default set.
To perform a Homebrew installation use the macOS Homebrew Installation instructions.
Until further notice, this is the ONLY WAY to install FreeSWITCH on macOS. See Status above.
macOS FreeSWITCH™ Installer (macFI)
The macOS FreeSWITCH™ Installer is the recommended method since it simplifies installation by automating because it automates all of the manual steps. Aside from being much faster, other advantages , providing much simpler and faster installation. Other advantages include renaming existing FreeSWITCH™ directories before installation, and creating installation logs. The macFI can be downloaded The macFI information and download is located at macOS macFI Installation.
A manual installation involves downloading and installing Xcode, prerequisites and FreeSWITCH™ by entering commands into the Terminal applicationrequires use of the Terminal application to enter commands to setup directories, install prerequisites and FreeSWITCH™.
To perform a manual installation use the macOS Manual Installation instructions,