(If you do not know what submodules are, or you are not using Git from the command line, PLEASE make sure to fetch the submodules too.) Clone the repository including submodules: git clone -recursive.Open a Terminal window, create and switch to a directory you want to have OBS checked out.Alternatively download and setup the following dependencies manually:.Preparation of CEF for use in OBS requires some fixups and compilation of the static wrapper library (see below).Chromium Embedded Framework (CEF) Apple M1.Chromium Embedded Framework (CEF) Intel x86_64.For browser source and browser panel support, the pre-built CEF framework is needed:.
Unpack the contents of the archive into ~/development/obs-build-dependencies/obs-deps.Download the latest version for your desired architecture from.Pre-Built OBS dependencies (includes FFmpeg, x264, mbedTLS, Qt and more).Optional: CCache to improve compilation speeds on consecutive builds.Available CMake configuration variables can be found in the CMake build system documentation. # Create a relocatable and codesigned OBS.app application bundle withoutĬI/build-macos.sh -skip-dependency-checks -codesign -bundleĬustom macOS builds allow full customization of the desired build configuration but also require manual setup and preparation. # Compile and package a codesigned and notarized build of OBS # Notarize application bundle or distributable disk image # Ask for and use available developer ID for codesigning # Create a relocatable OBS.app application bundle
# Download and set up dependencies, then build OBS for local hostĬI/build-macos.sh -skip-dependency-checks To do a fully automated build, open Terminal, switch to the checkout directory then run one of the following commands: If Homebrew is already installed on the system, that Homebrew environment will be used.Ĭlone the repository including submodules: NOTE: Automatic build scripts use Homebrew to automatically install additional build dependencies. Install by running xcode-select -install in Terminal, or.macOS 11.0 or newer for arm64-based builds.