diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-28 00:33:31 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:28 +0530 |
commit | d7d4355f5efa9c78d721392c4d7d6474105f29c8 (patch) | |
tree | 89b338d97b44499a08a407f4bb8536ea16b55f2a /WireGuard/WireGuardNetworkExtension | |
parent | macOS: Add Network Extensions capability to app (diff) | |
download | wireguard-apple-d7d4355f5efa9c78d721392c4d7d6474105f29c8.tar.xz wireguard-apple-d7d4355f5efa9c78d721392c4d7d6474105f29c8.zip |
Make app groups work on both iOS and macOS
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuardNetworkExtension')
-rw-r--r-- | WireGuard/WireGuardNetworkExtension/Info.plist | 4 | ||||
-rw-r--r-- | WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension_macOS.entitlements | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/Info.plist b/WireGuard/WireGuardNetworkExtension/Info.plist index 1075c53..0b32ba2 100644 --- a/WireGuard/WireGuardNetworkExtension/Info.plist +++ b/WireGuard/WireGuardNetworkExtension/Info.plist @@ -30,6 +30,8 @@ <string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string> </dict> <key>com.wireguard.ios.app_group_id</key> - <string>group.$(APP_ID_IOS)</string> + <string>group.$(APP_ID_IOS)</string> + <key>com.wireguard.macos.app_group_id</key> + <string>$(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS)</string> </dict> </plist> diff --git a/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension_macOS.entitlements b/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension_macOS.entitlements index 3a24a44..a54ac34 100644 --- a/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension_macOS.entitlements +++ b/WireGuard/WireGuardNetworkExtension/WireGuardNetworkExtension_macOS.entitlements @@ -2,11 +2,15 @@ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> - <key>com.apple.security.app-sandbox</key> - <true/> <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider</string> </array> + <key>com.apple.security.app-sandbox</key> + <true/> + <key>com.apple.security.application-groups</key> + <array> + <string>$(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS)</string> + </array> </dict> </plist> |