From ed27943a65550adb10e5722e677428b6f9de1157 Mon Sep 17 00:00:00 2001 From: Alan Francis Date: Fri, 23 Jun 2023 19:24:21 +0100 Subject: [PATCH] End of Step 9: Widget Entitlements --- JustOneThing.xcodeproj/project.pbxproj | 10 +++++++++- PhoneWidget/PhoneWidget.entitlements | 8 ++++++++ WatchWidget/WatchWidget.entitlements | 8 ++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 PhoneWidget/PhoneWidget.entitlements create mode 100644 WatchWidget/WatchWidget.entitlements diff --git a/JustOneThing.xcodeproj/project.pbxproj b/JustOneThing.xcodeproj/project.pbxproj index bcb748f..f991fa1 100644 --- a/JustOneThing.xcodeproj/project.pbxproj +++ b/JustOneThing.xcodeproj/project.pbxproj @@ -108,6 +108,8 @@ /* Begin PBXFileReference section */ 5407E5062A35B96E00EF00B8 /* JustOneThingWatch Watch App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "JustOneThingWatch Watch App.entitlements"; sourceTree = ""; }; 5431ED6D2A2A77C900515680 /* JustOneThingWatch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "JustOneThingWatch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 547201942A461554005B2FCC /* PhoneWidget.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PhoneWidget.entitlements; sourceTree = ""; }; + 547201952A461558005B2FCC /* WatchWidget.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = WatchWidget.entitlements; sourceTree = ""; }; 548390372A2A773900BF5624 /* JustOneThing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JustOneThing.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5483903A2A2A773900BF5624 /* JustOneThingApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JustOneThingApp.swift; sourceTree = ""; }; 5483903C2A2A773900BF5624 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; @@ -248,8 +250,8 @@ 54928C192A35F89900095445 /* MacWidget */ = { isa = PBXGroup; children = ( - 54928C1A2A35F89900095445 /* MacWidget.swift */, 54928C202A35F89A00095445 /* MacWidget.entitlements */, + 54928C1A2A35F89900095445 /* MacWidget.swift */, ); path = MacWidget; sourceTree = ""; @@ -257,6 +259,7 @@ 54928C312A35F8B800095445 /* PhoneWidget */ = { isa = PBXGroup; children = ( + 547201942A461554005B2FCC /* PhoneWidget.entitlements */, 54928C322A35F8B800095445 /* PhoneWidgetBundle.swift */, 54928C342A35F8B800095445 /* PhoneWidget.swift */, ); @@ -266,6 +269,7 @@ 54928C492A35F8CB00095445 /* WatchWidget */ = { isa = PBXGroup; children = ( + 547201952A461558005B2FCC /* WatchWidget.entitlements */, 54928C4A2A35F8CB00095445 /* WatchWidget.swift */, ); path = WatchWidget; @@ -859,6 +863,7 @@ buildSettings = { ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; + CODE_SIGN_ENTITLEMENTS = PhoneWidget/PhoneWidget.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 37UC5MW6PT; @@ -888,6 +893,7 @@ buildSettings = { ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; + CODE_SIGN_ENTITLEMENTS = PhoneWidget/PhoneWidget.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 37UC5MW6PT; @@ -918,6 +924,7 @@ buildSettings = { ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; + CODE_SIGN_ENTITLEMENTS = WatchWidget/WatchWidget.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 37UC5MW6PT; @@ -948,6 +955,7 @@ buildSettings = { ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; + CODE_SIGN_ENTITLEMENTS = WatchWidget/WatchWidget.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 37UC5MW6PT; diff --git a/PhoneWidget/PhoneWidget.entitlements b/PhoneWidget/PhoneWidget.entitlements new file mode 100644 index 0000000..2eb7e33 --- /dev/null +++ b/PhoneWidget/PhoneWidget.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.application-groups + + + diff --git a/WatchWidget/WatchWidget.entitlements b/WatchWidget/WatchWidget.entitlements new file mode 100644 index 0000000..2eb7e33 --- /dev/null +++ b/WatchWidget/WatchWidget.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.application-groups + + +