summaryrefslogtreecommitdiffhomepage
path: root/ios/Configurations
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-06-02 07:45:49 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-06-02 12:44:39 +0200
commit29ebb186fd6562a17fa530f271776922ca27646d (patch)
tree3a5b7b2404556f6c7a7d4e691ea2ea799412e574 /ios/Configurations
parente6714d142bb5d08c49d1f19884ea9bfd7d25290f (diff)
downloadmullvadvpn-29ebb186fd6562a17fa530f271776922ca27646d.tar.xz
mullvadvpn-29ebb186fd6562a17fa530f271776922ca27646d.zip
Xcode: add build config template
Diffstat (limited to 'ios/Configurations')
-rw-r--r--ios/Configurations/.gitignore3
-rw-r--r--ios/Configurations/App.xcconfig.template6
-rw-r--r--ios/Configurations/Base.xcconfig.template12
-rw-r--r--ios/Configurations/PacketTunnel.xcconfig.template6
-rw-r--r--ios/Configurations/Screenshots.xcconfig.template9
5 files changed, 35 insertions, 1 deletions
diff --git a/ios/Configurations/.gitignore b/ios/Configurations/.gitignore
index 7431e305b0..974fcd39de 100644
--- a/ios/Configurations/.gitignore
+++ b/ios/Configurations/.gitignore
@@ -1 +1,4 @@
+Base.xcconfig
+App.xcconfig
+PacketTunnel.xcconfig
Screenshots.xcconfig
diff --git a/ios/Configurations/App.xcconfig.template b/ios/Configurations/App.xcconfig.template
new file mode 100644
index 0000000000..5725f32dd0
--- /dev/null
+++ b/ios/Configurations/App.xcconfig.template
@@ -0,0 +1,6 @@
+#include "Base.xcconfig"
+
+// Provisioning profiles
+// Comment out the lines below if using automatic code sign
+PROVISIONING_PROFILE_SPECIFIER[config=Debug][sdk=*][arch=*] = Mullvad VPN Development
+PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=*][arch=*] = Mullvad VPN Distribution
diff --git a/ios/Configurations/Base.xcconfig.template b/ios/Configurations/Base.xcconfig.template
new file mode 100644
index 0000000000..6861503a66
--- /dev/null
+++ b/ios/Configurations/Base.xcconfig.template
@@ -0,0 +1,12 @@
+// Development team
+DEVELOPMENT_TEAM = CKG9MXH72F
+
+// Bundle ID
+APPLICATION_IDENTIFIER = net.mullvad.MullvadVPN
+
+// Shared container security group ID
+SECURITY_GROUP_IDENTIFIER = group.net.mullvad.MullvadVPN
+
+// Code signing style
+// Possible values: Manual or Automatic
+CODE_SIGN_STYLE = Manual
diff --git a/ios/Configurations/PacketTunnel.xcconfig.template b/ios/Configurations/PacketTunnel.xcconfig.template
new file mode 100644
index 0000000000..5783ab6d49
--- /dev/null
+++ b/ios/Configurations/PacketTunnel.xcconfig.template
@@ -0,0 +1,6 @@
+#include "Base.xcconfig"
+
+// Provisioning profiles
+// Comment out the lines below if using automatic code sign
+PROVISIONING_PROFILE_SPECIFIER[config=Debug][sdk=*][arch=*] = Packet Tunnel Development
+PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=*][arch=*] = Packet Tunnel Distribution
diff --git a/ios/Configurations/Screenshots.xcconfig.template b/ios/Configurations/Screenshots.xcconfig.template
index 9e472844da..ff966b82c1 100644
--- a/ios/Configurations/Screenshots.xcconfig.template
+++ b/ios/Configurations/Screenshots.xcconfig.template
@@ -1 +1,8 @@
-MULLVAD_ACCOUNT_TOKEN=<ACCOUNT TOKEN>
+#include "Base.xcconfig"
+
+// Provisioning profiles
+// Comment out the lines below if using automatic code sign
+PROVISIONING_PROFILE_SPECIFIER[config=Debug][sdk=*][arch=*] = Screenshots Development
+
+// Mullvad account number used when taking screenshots
+MULLVAD_ACCOUNT_TOKEN =