diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5653b21..4205ed8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,7 +134,7 @@ jobs: APP_PROFILE_PLIST="$RUNNER_TEMP/BitDream-App.plist" WIDGET_PROFILE_PLIST="$RUNNER_TEMP/BitDream-Widget.plist" - REQUIRED_APP_GROUP="group.crapshack.BitDream" + REQUIRED_APP_GROUP="group.com.crapshack.BitDream" security cms -D -i "$APP_PROFILE_PATH" > "$APP_PROFILE_PLIST" security cms -D -i "$WIDGET_PROFILE_PATH" > "$WIDGET_PROFILE_PLIST" @@ -203,9 +203,9 @@ jobs: Developer ID Application provisioningProfiles - crapshack.BitDream + com.crapshack.BitDream $APP_PROFILE_UUID - crapshack.BitDream.BitDreamWidgets + com.crapshack.BitDream.BitDreamWidgets $WIDGET_PROFILE_UUID diff --git a/BitDream.xcodeproj/project.pbxproj b/BitDream.xcodeproj/project.pbxproj index 8239240..3a4e51a 100644 --- a/BitDream.xcodeproj/project.pbxproj +++ b/BitDream.xcodeproj/project.pbxproj @@ -502,8 +502,8 @@ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream; + MARKETING_VERSION = 2.0.2; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; SDKROOT = auto; @@ -552,8 +552,8 @@ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream; + MARKETING_VERSION = 2.0.2; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "BitDream App Developer ID"; REGISTER_APP_GROUPS = YES; @@ -590,8 +590,8 @@ ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream.BitDreamWidgets; + MARKETING_VERSION = 2.0.2; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream.BitDreamWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; SDKROOT = auto; @@ -636,8 +636,8 @@ ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream.BitDreamWidgets; + MARKETING_VERSION = 2.0.2; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream.BitDreamWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "BitDream Widget Developer ID"; REGISTER_APP_GROUPS = YES; @@ -669,7 +669,7 @@ "@loader_path/../../../../MacOS", ); MACOSX_DEPLOYMENT_TARGET = 26.0; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDreamTests; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDreamTests; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -695,7 +695,7 @@ "@loader_path/../../../../MacOS", ); MACOSX_DEPLOYMENT_TARGET = 26.0; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDreamTests; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDreamTests; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; SKIP_INSTALL = YES; diff --git a/BitDream/BitDream.entitlements b/BitDream/BitDream.entitlements index 5ae2328..c47e9b3 100644 --- a/BitDream/BitDream.entitlements +++ b/BitDream/BitDream.entitlements @@ -4,7 +4,7 @@ com.apple.security.application-groups - group.crapshack.BitDream + group.com.crapshack.BitDream diff --git a/BitDream/Widgets/AppGroup.swift b/BitDream/Widgets/AppGroup.swift index 74ffd2e..acfeb59 100644 --- a/BitDream/Widgets/AppGroup.swift +++ b/BitDream/Widgets/AppGroup.swift @@ -6,7 +6,7 @@ import OSLog enum AppGroup { /// App Group identifier shared by the app and widget extension - static let identifier: String = "group.crapshack.BitDream" + static let identifier: String = "group.com.crapshack.BitDream" /// Container URL for the shared App Group static func containerURL() -> URL? { diff --git a/BitDream/Widgets/README.md b/BitDream/Widgets/README.md index bd4b5fd..8fb4d70 100644 --- a/BitDream/Widgets/README.md +++ b/BitDream/Widgets/README.md @@ -6,7 +6,7 @@ - Data is supplied from the host app through a lightweight snapshot written to a shared App Group container. ### Key Components -- App Group: `group.crapshack.BitDream` +- App Group: `group.com.crapshack.BitDream` - Shared container for widget snapshots and a server index file. - No credentials are stored in the widget extension. - App Intents @@ -33,7 +33,7 @@ ### iOS Background Refresh (by the book) - Capability: Background Modes → Background fetch (enabled on iOS target). -- Scheduler: `BGTaskScheduler` with identifier `crapshack.BitDream.refresh`. +- Scheduler: `BGTaskScheduler` with identifier `com.crapshack.BitDream.refresh`. - Flow: - Register on app launch. - Schedule on launch and when entering background. @@ -56,7 +56,7 @@ - iOS app target - macOS app target - Widget extension target -- iOS only: Add `BGTaskSchedulerPermittedIdentifiers` to Info.plist with `crapshack.BitDream.refresh`. +- iOS only: Add `BGTaskSchedulerPermittedIdentifiers` to Info.plist with `com.crapshack.BitDream.refresh`. - macOS widget extension: Enable App Sandbox capability (required for the extension to load/show on macOS). ### Performance and Budgeting diff --git a/BitDreamWidgets/BitDreamWidgetsExtension.entitlements b/BitDreamWidgets/BitDreamWidgetsExtension.entitlements index 5ae2328..c47e9b3 100644 --- a/BitDreamWidgets/BitDreamWidgetsExtension.entitlements +++ b/BitDreamWidgets/BitDreamWidgetsExtension.entitlements @@ -4,7 +4,7 @@ com.apple.security.application-groups - group.crapshack.BitDream + group.com.crapshack.BitDream