Prefix App Group with team ID in macOS

Team ID is not a sensitive value.

Fixes #79
This commit is contained in:
Davide De Rosa 2019-04-13 10:40:29 +02:00
parent 12b26df10d
commit 07b69f2a34
4 changed files with 11 additions and 3 deletions

View File

@ -8,6 +8,10 @@
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>$(TeamIdentifierPrefix)group.com.algoritmico.macos.demo.BasicTunnel</string>
</array>
<key>com.apple.security.network.client</key>
<true/>
</dict>

View File

@ -76,7 +76,7 @@ YDQ8z9v+DMO6iwyIDRiU
""")
extension ViewController {
private static let appGroup = "group.com.algoritmico.macos.demo.BasicTunnel"
private static let appGroup = "DTDYD63ZX9.group.com.algoritmico.macos.demo.BasicTunnel"
private static let bundleIdentifier = "com.algoritmico.macos.demo.BasicTunnel.BasicTunnelExtension"

View File

@ -8,6 +8,10 @@
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>$(TeamIdentifierPrefix)group.com.algoritmico.macos.demo.BasicTunnel</string>
</array>
<key>com.apple.security.network.client</key>
<true/>
</dict>

View File

@ -400,7 +400,7 @@
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 0;
enabled = 1;
};
com.apple.Keychain = {
enabled = 0;
@ -419,7 +419,7 @@
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 0;
enabled = 1;
};
com.apple.Keychain = {
enabled = 0;