-
-
Notifications
You must be signed in to change notification settings - Fork 107
Building Monal
- CocoaPods (see below)
- Xcode (only runs on macOS, see below if you don't own a Mac)
- git
- clone repo
git clone https://github.com/monal-im/Monal.git Monal-IM
cd Monal-IM
- init and update submodules (localizations)
git submodule update --remote --init
- install dependencies
cd Monal
pod install
- open in Xcode and build
open Monal.xcworkspace
Read here how to use logging with the Monal UDP Logger to debug things.
If you are interested in building Monal but don't have a Mac you can virtualize:
- MacOS Bis Sur (current buildserver)
- MacOS Catalina (used for old buildserver)
- Alternative 1
- Alternative 2
- Alternative 3
- Mac OS Beta ISO as well as the free preview image
Direct download links to all XCode versions If you want to connect your physical iPhone to XCode inside your VM, use this (tested by Monal devs)
If you want to live on the edge and use all new bleeding-edge features that just got implemented, you can use the alpha builds of Monal, too.
Just sent the UDID of your device (the serial number visible via lsusb
on a Linux system) to [email protected]. Once your device has been added, you can download and install the build. For each new commit to the develop branch a new build will go down the pipeline.
Please be reminded that the alpha builds obviously might be unstable, slower or come with other severe issues.
Read here how to use logging with the Monal UDP Logger to debug things.
You'll need to use homebrew to install cocoapods, other ways to install cocoapods may result in strange errors.
Go to https://brew.sh/ and follow the instructions to install homebrew.
Don't forget to follow the "next steps" printed to your terminal once homebrew finishes.
In the terminal type brew install cocoapods
Done.