summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-05-27 09:55:53 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-05-27 09:55:53 +0200
commit9857fca74ce1c95941c536dd2f2fd2d0be4b81f7 (patch)
treeacfae15da2f7fddee37cccc4f7c927d4f991712b
parenta5b88fff7e68111551f22e28f17e37743484c0d9 (diff)
downloadmullvadvpn-9857fca74ce1c95941c536dd2f2fd2d0be4b81f7.tar.xz
mullvadvpn-9857fca74ce1c95941c536dd2f2fd2d0be4b81f7.zip
Add required protobuf dependencies
-rw-r--r--.github/workflows/ios-screenshots-tests.yml5
-rw-r--r--.github/workflows/ios-validate-build-schemas.yml5
-rw-r--r--ios/BuildInstructions.md5
-rw-r--r--ios/MullvadVPNUITests/README.md2
4 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ios-screenshots-tests.yml b/.github/workflows/ios-screenshots-tests.yml
index adba047322..99557a6f61 100644
--- a/.github/workflows/ios-screenshots-tests.yml
+++ b/.github/workflows/ios-screenshots-tests.yml
@@ -67,6 +67,11 @@ jobs:
brew update
brew install xcbeautify
+ - name: Install protobuf
+ run: |
+ brew update
+ brew install protobuf
+
- name: Run screenshot tests
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
diff --git a/.github/workflows/ios-validate-build-schemas.yml b/.github/workflows/ios-validate-build-schemas.yml
index 12057518ab..618a82c1e7 100644
--- a/.github/workflows/ios-validate-build-schemas.yml
+++ b/.github/workflows/ios-validate-build-schemas.yml
@@ -68,6 +68,11 @@ jobs:
brew update
brew install xcbeautify
+ - name: Install protobuf
+ run: |
+ brew update
+ brew install protobuf
+
- name: Run build validation for Staging and MockRelease configurations as well as the MullvadVPNUITests target
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
diff --git a/ios/BuildInstructions.md b/ios/BuildInstructions.md
index 2a651ab0f6..061083f7ee 100644
--- a/ios/BuildInstructions.md
+++ b/ios/BuildInstructions.md
@@ -17,6 +17,11 @@ the host system.
Once both rust and go are installed, ensure they are available in your path.
+A protobuf compiler is also required in order to build some of the rust dependencies.
+```bash
+brew install protobuf
+```
+
## Configure Xcode project
Copy template files of Xcode build configuration:
diff --git a/ios/MullvadVPNUITests/README.md b/ios/MullvadVPNUITests/README.md
index a8146b24d9..b1fa392f2a 100644
--- a/ios/MullvadVPNUITests/README.md
+++ b/ios/MullvadVPNUITests/README.md
@@ -17,7 +17,7 @@
- `brew install ios-deploy`
7. Install Homebrew and dependencies
- `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
- - `brew install xcbeautify wget swiftlint`
+ - `brew install xcbeautify wget swiftlint protobuf`
8. Install Ruby
- `\curl -sSL https://get.rvm.io | bash`
9. Install Rust and add iOS targets