Skip to content

Commit 284aef2

Browse files
authored
Explicitly define app groups in entitlements files (#7673)
2 parents 873549a + f7dc004 commit 284aef2

File tree

7 files changed

+53
-4
lines changed

7 files changed

+53
-4
lines changed

WooCommerce/Resources/Woo-Alpha.entitlements

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
2525
<key>com.apple.security.app-sandbox</key>
2626
<true/>
27+
<key>com.apple.security.application-groups</key>
28+
<array>
29+
<string>group.com.automattic.woocommerce.alpha</string>
30+
</array>
2731
<key>com.apple.security.device.bluetooth</key>
2832
<true/>
2933
<key>com.apple.security.device.camera</key>

WooCommerce/Resources/Woo-Debug.entitlements

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.developer.passkit.pass-presentation-suppression</key>
6-
<true/>
75
<key>aps-environment</key>
86
<string>development</string>
97
<key>com.apple.developer.applesignin</key>
@@ -22,6 +20,8 @@
2220
<array>
2321
<string>CloudDocuments</string>
2422
</array>
23+
<key>com.apple.developer.passkit.pass-presentation-suppression</key>
24+
<true/>
2525
<key>com.apple.developer.ubiquity-container-identifiers</key>
2626
<array>
2727
<string>iCloud.$(CFBundleIdentifier)</string>
@@ -30,6 +30,10 @@
3030
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
3131
<key>com.apple.security.app-sandbox</key>
3232
<true/>
33+
<key>com.apple.security.application-groups</key>
34+
<array>
35+
<string>group.com.automattic.woocommerce</string>
36+
</array>
3337
<key>com.apple.security.device.bluetooth</key>
3438
<true/>
3539
<key>com.apple.security.device.camera</key>

WooCommerce/Resources/Woo-Release.entitlements

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.developer.passkit.pass-presentation-suppression</key>
6-
<true/>
75
<key>aps-environment</key>
86
<string>production</string>
97
<key>com.apple.developer.applesignin</key>
@@ -22,6 +20,8 @@
2220
<array>
2321
<string>CloudDocuments</string>
2422
</array>
23+
<key>com.apple.developer.passkit.pass-presentation-suppression</key>
24+
<true/>
2525
<key>com.apple.developer.ubiquity-container-identifiers</key>
2626
<array>
2727
<string>iCloud.$(CFBundleIdentifier)</string>
@@ -30,6 +30,10 @@
3030
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
3131
<key>com.apple.security.app-sandbox</key>
3232
<true/>
33+
<key>com.apple.security.application-groups</key>
34+
<array>
35+
<string>group.com.automattic.woocommerce</string>
36+
</array>
3337
<key>com.apple.security.device.bluetooth</key>
3438
<true/>
3539
<key>com.apple.security.device.camera</key>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.application-groups</key>
6+
<array>
7+
<string>group.com.automattic.woocommerce</string>
8+
</array>
9+
</dict>
10+
</plist>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.application-groups</key>
6+
<array>
7+
<string>group.com.automattic.woocommerce.alpha</string>
8+
</array>
9+
</dict>
10+
</plist>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.application-groups</key>
6+
<array>
7+
<string>group.com.automattic.woocommerce</string>
8+
</array>
9+
</dict>
10+
</plist>

WooCommerce/WooCommerce.xcodeproj/project.pbxproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@
709709
3F2C8A19285B038800B1A5BB /* BuildkiteTestCollector in Frameworks */ = {isa = PBXBuildFile; productRef = 3F2C8A18285B038800B1A5BB /* BuildkiteTestCollector */; };
710710
3F2C8A1B285B039900B1A5BB /* BuildkiteTestCollector in Frameworks */ = {isa = PBXBuildFile; productRef = 3F2C8A1A285B039900B1A5BB /* BuildkiteTestCollector */; };
711711
3F2C8A1D285B03A400B1A5BB /* BuildkiteTestCollector in Frameworks */ = {isa = PBXBuildFile; productRef = 3F2C8A1C285B03A400B1A5BB /* BuildkiteTestCollector */; };
712+
3F50FE4128C8319A00C89201 /* Entitlements in Resources */ = {isa = PBXBuildFile; fileRef = 3F50FE4028C8319A00C89201 /* Entitlements */; };
712713
3F58701F281B947E004F7556 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3F58701E281B947E004F7556 /* Main.storyboard */; };
713714
3F587021281B9494004F7556 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3F587020281B9494004F7556 /* LaunchScreen.storyboard */; };
714715
3F587026281B9C19004F7556 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3F587028281B9C19004F7556 /* InfoPlist.strings */; };
@@ -2575,6 +2576,7 @@
25752576
3F1FA84828B60126009E246C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
25762577
3F1FA84A28B60126009E246C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25772578
3F271A9728A2684400E656AE /* UITests.xctestplan */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = UITests.xctestplan; sourceTree = "<group>"; };
2579+
3F50FE4028C8319A00C89201 /* Entitlements */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Entitlements; sourceTree = "<group>"; };
25782580
3F58701E281B947E004F7556 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
25792581
3F587020281B9494004F7556 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
25802582
3F587027281B9C19004F7556 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -5328,6 +5330,7 @@
53285330
3F1FA84428B60125009E246C /* StoreWidgets */ = {
53295331
isa = PBXGroup;
53305332
children = (
5333+
3F50FE4028C8319A00C89201 /* Entitlements */,
53315334
26FFD32828C6A0E4002E5E5E /* Images */,
53325335
3F1FA84528B60125009E246C /* StoreWidgets.swift */,
53335336
265C99E028B9BA43005E6117 /* StoreInfoWidget.swift */,
@@ -8881,6 +8884,7 @@
88818884
B5D1AFC820BC7B9600DB0E8C /* StorePickerViewController.xib in Resources */,
88828885
45CDAFAF2434CFCA00F83C22 /* ProductCatalogVisibilityViewController.xib in Resources */,
88838886
CE1D5A56228A0AD200DF3715 /* TwoColumnTableViewCell.xib in Resources */,
8887+
3F50FE4128C8319A00C89201 /* Entitlements in Resources */,
88848888
03FBDAA3263AED2F00ACE257 /* CouponListViewController.xib in Resources */,
88858889
B57C744320F54F1C00EEFC87 /* AccountHeaderView.xib in Resources */,
88868890
4506BD722461965300FE6377 /* ProductVisibilityViewController.xib in Resources */,
@@ -11028,6 +11032,7 @@
1102811032
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
1102911033
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
1103011034
CLANG_ENABLE_OBJC_WEAK = YES;
11035+
CODE_SIGN_ENTITLEMENTS = StoreWidgets/Entitlements/StoreWidgetsExtension.entitlements;
1103111036
CODE_SIGN_STYLE = Manual;
1103211037
CURRENT_PROJECT_VERSION = 1;
1103311038
DEVELOPMENT_TEAM = PZYM8XX95Q;
@@ -11063,6 +11068,7 @@
1106311068
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
1106411069
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
1106511070
CLANG_ENABLE_OBJC_WEAK = YES;
11071+
CODE_SIGN_ENTITLEMENTS = StoreWidgets/Entitlements/StoreWidgetsExtensionRelease.entitlements;
1106611072
CODE_SIGN_IDENTITY = "iPhone Distribution";
1106711073
CODE_SIGN_STYLE = Manual;
1106811074
CURRENT_PROJECT_VERSION = 1;
@@ -11098,6 +11104,7 @@
1109811104
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
1109911105
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
1110011106
CLANG_ENABLE_OBJC_WEAK = YES;
11107+
CODE_SIGN_ENTITLEMENTS = "StoreWidgets/Entitlements/StoreWidgetsExtensionRelease-Alpha.entitlements";
1110111108
CODE_SIGN_IDENTITY = "iPhone Distribution";
1110211109
CODE_SIGN_STYLE = Manual;
1110311110
CURRENT_PROJECT_VERSION = 1;

0 commit comments

Comments
 (0)