diff --git a/IceCubesApp.xcodeproj/project.pbxproj b/IceCubesApp.xcodeproj/project.pbxproj index d822468a..aed77797 100644 --- a/IceCubesApp.xcodeproj/project.pbxproj +++ b/IceCubesApp.xcodeproj/project.pbxproj @@ -223,7 +223,6 @@ 9FB183282AE9449100BBB692 /* IceCubesApp+Scene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "IceCubesApp+Scene.swift"; sourceTree = ""; }; 9FBFE639292A715500C250E9 /* Ice Cubes.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Ice Cubes.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 9FBFE63C292A715500C250E9 /* IceCubesApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IceCubesApp.swift; sourceTree = ""; }; - 9FBFE642292A715600C250E9 /* IceCubesApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IceCubesApp.entitlements; sourceTree = ""; }; 9FC60CB82AE6C2F600C6EAD2 /* IceCubesActionExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IceCubesActionExtension.entitlements; sourceTree = ""; }; 9FCBB3D22984EFD5009B77EE /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = ""; }; 9FCBB3D429859615009B77EE /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/InfoPlist.strings; sourceTree = ""; }; @@ -246,6 +245,8 @@ E9DF420029830FEC0003AAD2 /* ActionRequestHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActionRequestHandler.swift; sourceTree = ""; }; E9DF420229830FEC0003AAD2 /* Action.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = Action.js; sourceTree = ""; }; E9DF420429830FEC0003AAD2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E9FEB8AD2B1CAB4600815AB5 /* IceCubesApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IceCubesApp.entitlements; sourceTree = ""; }; + E9FEB8AE2B1CAB7000815AB5 /* IceCubesApp-release.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "IceCubesApp-release.entitlements"; sourceTree = ""; }; FA31A9AA2A66BF7C00D5F662 /* EditTagGroupView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EditTagGroupView.swift; sourceTree = ""; }; FF8259FC298E42E000BEAB69 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/InfoPlist.strings; sourceTree = ""; }; /* End PBXFileReference section */ @@ -344,6 +345,8 @@ 9F398AB429360A5800A889F2 /* App */ = { isa = PBXGroup; children = ( + E9FEB8AD2B1CAB4600815AB5 /* IceCubesApp.entitlements */, + E9FEB8AE2B1CAB7000815AB5 /* IceCubesApp-release.entitlements */, 9FB183232AE926BB00BBB692 /* Main */, 9F654BF0299AC46200D27FA5 /* Report */, 9FAE4AC9293783A200772766 /* Tabs */, @@ -481,7 +484,6 @@ 9FD34822293D06E800DB0EE9 /* Assets.xcassets */, 9FAE4AC8293774FF00772766 /* Info.plist */, 9F398AB429360A5800A889F2 /* App */, - 9FBFE642292A715600C250E9 /* IceCubesApp.entitlements */, 9F398AB529360A6100A889F2 /* Resources */, 9FAD85822971BF7200496AB1 /* Secret.plist */, ); @@ -1162,7 +1164,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; - CODE_SIGN_ENTITLEMENTS = IceCubesApp/IceCubesApp.entitlements; + CODE_SIGN_ENTITLEMENTS = IceCubesApp/App/IceCubesApp.entitlements; CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; @@ -1216,7 +1218,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; - CODE_SIGN_ENTITLEMENTS = IceCubesApp/IceCubesApp.entitlements; + CODE_SIGN_ENTITLEMENTS = "IceCubesApp/App/IceCubesApp-release.entitlements"; CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; diff --git a/IceCubesApp/App/IceCubesApp-release.entitlements b/IceCubesApp/App/IceCubesApp-release.entitlements new file mode 100644 index 00000000..8b7f7e55 --- /dev/null +++ b/IceCubesApp/App/IceCubesApp-release.entitlements @@ -0,0 +1,36 @@ + + + + + aps-environment + development + com.apple.developer.icloud-container-identifiers + + iCloud.IceCubesApp + + com.apple.developer.icloud-services + + CloudKit + + com.apple.developer.user-fonts + + app-usage + + com.apple.developer.usernotifications.communication + + com.apple.security.app-sandbox + + com.apple.security.application-groups + + group.$(BUNDLE_ID_PREFIX).IceCubesApp + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + keychain-access-groups + + $(AppIdentifierPrefix)$(BUNDLE_ID_PREFIX).IceCubesApp + + + diff --git a/IceCubesApp/IceCubesApp.entitlements b/IceCubesApp/App/IceCubesApp.entitlements similarity index 94% rename from IceCubesApp/IceCubesApp.entitlements rename to IceCubesApp/App/IceCubesApp.entitlements index a650a2dc..e7a3c9aa 100644 --- a/IceCubesApp/IceCubesApp.entitlements +++ b/IceCubesApp/App/IceCubesApp.entitlements @@ -6,7 +6,7 @@ development com.apple.developer.icloud-container-identifiers - iCloud.icecubesapp + iCloud.$(BUNDLE_ID_PREFIX).IceCubesApp com.apple.developer.icloud-services