Skip to content

Commit dd70db9

Browse files
committed
[docs] Add CocoaPods & QEMU sections
1 parent 356f802 commit dd70db9

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

BUILD.macOS.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,24 @@ This will install Qt 6.2.4 to `~/Qt/6.2.4/macos`.
2727

2828
Adjust accordingly if you customized the Qt install directory.
2929

30+
### CocoaPods
31+
32+
CocoaPods is required to build the Flutter GUI
33+
34+
sudo gem install cocoapods
35+
36+
You may need to update your version of Ruby first. You can do so with RVM:
37+
38+
rvm install 3.1.0 && rvm --default use 3.1.0
39+
40+
**Important: RVM/Ruby may require OpenSSL v1, while building Multipass requires OpenSSL v3. Perform this step first before continuing!**
41+
3042
### Cmake/OpenSSL
3143

3244
Building a Multipass package requires cmake 3.9 or greater. OpenSSL is also necessary at build time. The most convenient
3345
means to obtain these dependencies is with Homebrew <https://brew.sh/>.
3446

35-
brew install cmake openssl@3 glib pixman
47+
brew install cmake openssl@3
3648

3749
Building
3850
---------------------------------------
@@ -45,12 +57,22 @@ If you encounter errors about missing `pkg-config` or `ninja`, install them with
4557

4658
This is required for CMake to find all necessary build tools and dependencies.
4759

60+
#### QEMU Configuration
61+
62+
QEMU is required to build the Multipass tests:
63+
64+
brew install qemu
65+
4866
If you encounter Python errors about missing `tomli` during the QEMU build step, install it with:
4967

5068
pip3 install tomli
5169

5270
This is required for Python-based build scripts.
5371

72+
You may need additional libraries and packages during the configuration process:
73+
74+
brew install glib pixman
75+
5476
#### Xcode setup
5577

5678
After installing Xcode, you may need to configure the command line tools and complete the initial setup:

0 commit comments

Comments
 (0)