diff --git a/IntentsExtension/IntentsExtension.entitlements b/IntentsExtension/IntentsExtension.entitlements index 13cb114cf..24804ec22 100644 --- a/IntentsExtension/IntentsExtension.entitlements +++ b/IntentsExtension/IntentsExtension.entitlements @@ -2,7 +2,11 @@ - com.apple.security.app-sandbox - + com.apple.security.app-sandbox + + com.apple.security.application-groups + + $(TeamIdentifierPrefix)com.automattic.SimplenoteMac + diff --git a/IntentsExtension/IntentsExtensionDebug.entitlements b/IntentsExtension/IntentsExtensionDebug.entitlements new file mode 100644 index 000000000..0daeab0d8 --- /dev/null +++ b/IntentsExtension/IntentsExtensionDebug.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.application-groups + + $(TeamIdentifierPrefix)com.automattic.SimplenoteMac.Debug + + + diff --git a/Simplenote.entitlements b/Simplenote.entitlements index 637aa6f19..c7fb437c2 100644 --- a/Simplenote.entitlements +++ b/Simplenote.entitlements @@ -4,6 +4,10 @@ com.apple.security.app-sandbox + com.apple.security.application-groups + + $(TeamIdentifierPrefix)com.automattic.SimplenoteMac + com.apple.security.files.user-selected.read-write com.apple.security.network.client diff --git a/Simplenote.xcodeproj/project.pbxproj b/Simplenote.xcodeproj/project.pbxproj index 043db07b9..5021af2f8 100644 --- a/Simplenote.xcodeproj/project.pbxproj +++ b/Simplenote.xcodeproj/project.pbxproj @@ -649,6 +649,8 @@ BA0B43C826F2FCFC00B44A8C /* PreferencesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferencesViewController.swift; sourceTree = ""; }; BA0B43D426F2FEA200B44A8C /* Preferences.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Preferences.storyboard; sourceTree = ""; }; BA2C65CA26FE996100FA84E1 /* NSButton+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSButton+Extensions.swift"; sourceTree = ""; }; + BA39C4542C0133F30004B2A9 /* SimplenoteDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SimplenoteDebug.entitlements; sourceTree = ""; }; + BA39C4552C0134180004B2A9 /* IntentsExtensionDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IntentsExtensionDebug.entitlements; sourceTree = ""; }; BA4C6D15264CA8C000B723A7 /* SignupRemoteTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignupRemoteTests.swift; sourceTree = ""; }; BA4C6D17264CAAF800B723A7 /* URLRequest+Simplenote.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URLRequest+Simplenote.swift"; sourceTree = ""; }; BA52005A2BC878F1003F1B75 /* CSSearchable+Helpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CSSearchable+Helpers.swift"; sourceTree = ""; }; @@ -771,6 +773,7 @@ 26F72A9214032D2A00A7935E /* Simplenote */ = { isa = PBXGroup; children = ( + BA39C4542C0133F30004B2A9 /* SimplenoteDebug.entitlements */, 463774DC171F114900E2E333 /* Categories */, B501AAD22437E52D0084CDA3 /* Constants */, B53BF1A224AC388F00938C34 /* Controllers */, @@ -1488,6 +1491,7 @@ BAB261642BFFD0AF009A98D7 /* IntentsExtension */ = { isa = PBXGroup; children = ( + BA39C4552C0134180004B2A9 /* IntentsExtensionDebug.entitlements */, BAB261652BFFD0AF009A98D7 /* IntentHandler.swift */, BAB261672BFFD0AF009A98D7 /* Info.plist */, BAB261682BFFD0AF009A98D7 /* IntentsExtension.entitlements */, @@ -2233,7 +2237,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Beta"; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Simplenote.entitlements; + CODE_SIGN_ENTITLEMENTS = Simplenote/SimplenoteDebug.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; CODE_SIGN_STYLE = Manual; @@ -2456,7 +2460,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_ENTITLEMENTS = IntentsExtension/IntentsExtension.entitlements; + CODE_SIGN_ENTITLEMENTS = IntentsExtension/IntentsExtensionDebug.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; CODE_SIGN_STYLE = Manual; diff --git a/Simplenote/SimplenoteDebug.entitlements b/Simplenote/SimplenoteDebug.entitlements new file mode 100644 index 000000000..950859312 --- /dev/null +++ b/Simplenote/SimplenoteDebug.entitlements @@ -0,0 +1,18 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.application-groups + + $(TeamIdentifierPrefix)com.automattic.SimplenoteMac.Debug + + com.apple.security.files.user-selected.read-write + + com.apple.security.network.client + + com.apple.security.print + + +