aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-11-29 12:01:45 +0530
committerRoopesh Chander <roop@roopc.net>2018-11-29 12:01:45 +0530
commita3bc306b6e0b881a9dc0187d8bc23240de16f2c4 (patch)
treebb6e9c973e2915fc369d14528ea791cfed06de73
parentIt's 'WiFi', not 'Wifi' (diff)
downloadwireguard-apple-a3bc306b6e0b881a9dc0187d8bc23240de16f2c4.tar.xz
wireguard-apple-a3bc306b6e0b881a9dc0187d8bc23240de16f2c4.zip
Xcode: Add app groups capability
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard.xcodeproj/project.pbxproj3
-rw-r--r--WireGuard/WireGuard/WireGuard.entitlements4
-rw-r--r--WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements4
3 files changed, 11 insertions, 0 deletions
diff --git a/WireGuard/WireGuard.xcodeproj/project.pbxproj b/WireGuard/WireGuard.xcodeproj/project.pbxproj
index 1474a98..e47f9ba 100644
--- a/WireGuard/WireGuard.xcodeproj/project.pbxproj
+++ b/WireGuard/WireGuard.xcodeproj/project.pbxproj
@@ -426,6 +426,9 @@
CreatedOnToolsVersion = 9.4.1;
LastSwiftMigration = 1000;
SystemCapabilities = {
+ com.apple.ApplicationGroups.iOS = {
+ enabled = 1;
+ };
com.apple.NetworkExtensions.iOS = {
enabled = 1;
};
diff --git a/WireGuard/WireGuard/WireGuard.entitlements b/WireGuard/WireGuard/WireGuard.entitlements
index ffab33e..4f46373 100644
--- a/WireGuard/WireGuard/WireGuard.entitlements
+++ b/WireGuard/WireGuard/WireGuard.entitlements
@@ -6,5 +6,9 @@
<array>
<string>packet-tunnel-provider</string>
</array>
+ <key>com.apple.security.application-groups</key>
+ <array>
+ <string>group.$(APP_ID)</string>
+ </array>
</dict>
</plist>
diff --git a/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements b/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements
index ffab33e..4f46373 100644
--- a/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements
+++ b/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements
@@ -6,5 +6,9 @@
<array>
<string>packet-tunnel-provider</string>
</array>
+ <key>com.apple.security.application-groups</key>
+ <array>
+ <string>group.$(APP_ID)</string>
+ </array>
</dict>
</plist>