aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-03-04 18:58:37 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-18 06:46:55 +0100
commit36dc2525128e3cec830fd05162644ee160be605c (patch)
treef684baee7e0c28b0aa127caeeeee4253d841daea
parenton-demand: iOS: Support for SSIDs (diff)
downloadwireguard-apple-36dc2525128e3cec830fd05162644ee160be605c.tar.xz
wireguard-apple-36dc2525128e3cec830fd05162644ee160be605c.zip
on-demand: iOS: Xcode: Add ability to access current SSID
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard.xcodeproj/project.pbxproj3
-rw-r--r--WireGuard/WireGuard/UI/iOS/WireGuard.entitlements2
2 files changed, 5 insertions, 0 deletions
diff --git a/WireGuard/WireGuard.xcodeproj/project.pbxproj b/WireGuard/WireGuard.xcodeproj/project.pbxproj
index d9454bb0..9716b425 100644
--- a/WireGuard/WireGuard.xcodeproj/project.pbxproj
+++ b/WireGuard/WireGuard.xcodeproj/project.pbxproj
@@ -854,6 +854,9 @@
CreatedOnToolsVersion = 9.4.1;
LastSwiftMigration = 1000;
SystemCapabilities = {
+ com.apple.AccessWiFi = {
+ enabled = 1;
+ };
com.apple.ApplicationGroups.iOS = {
enabled = 1;
};
diff --git a/WireGuard/WireGuard/UI/iOS/WireGuard.entitlements b/WireGuard/WireGuard/UI/iOS/WireGuard.entitlements
index 33ce9fca..93c72493 100644
--- a/WireGuard/WireGuard/UI/iOS/WireGuard.entitlements
+++ b/WireGuard/WireGuard/UI/iOS/WireGuard.entitlements
@@ -6,6 +6,8 @@
<array>
<string>packet-tunnel-provider</string>
</array>
+ <key>com.apple.developer.networking.wifi-info</key>
+ <true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.$(APP_ID_IOS)</string>