summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/.swiftformat2
-rw-r--r--ios/BuildInstructions.md8
2 files changed, 9 insertions, 1 deletions
diff --git a/ios/.swiftformat b/ios/.swiftformat
index 7c599d7ee0..d6c663b36e 100644
--- a/ios/.swiftformat
+++ b/ios/.swiftformat
@@ -1,5 +1,5 @@
# file options
---exclude Build, .spm, MullvadVPNScreenshots/SnapshotHelper.swift, PacketTunnelCore/Daita/Maybenot.swift
+--exclude Build, .spm, MullvadVPNScreenshots/SnapshotHelper.swift, PacketTunnelCore/Daita/Maybenot.swift, wireguard-apple
# general options
--swiftversion 5.8
diff --git a/ios/BuildInstructions.md b/ios/BuildInstructions.md
index 2ba1cf9e9b..f9bb84a00a 100644
--- a/ios/BuildInstructions.md
+++ b/ios/BuildInstructions.md
@@ -29,6 +29,14 @@ A protobuf compiler is also required in order to build some of the rust dependen
brew install protobuf
```
+## Submodules
+
+The iOS app imports Mullvad's version of `wireguard-go` as a Git submodule. Before building, this must be checked out with
+
+```bash
+git submodule update --init --recursive ios/wireguard-apple
+```
+
## Configure Xcode project
Copy template files of Xcode build configuration: