From 580b1550ecc930257b0eef93d05d38fbe4c758aa Mon Sep 17 00:00:00 2001 From: Austin Smith Date: Sun, 9 Aug 2026 00:23:03 -0700 Subject: [PATCH 1/2] standardize bundle identifiers --- .github/workflows/release.yml | 6 +++--- BitDream.xcodeproj/project.pbxproj | 12 ++++++------ BitDream/BitDream.entitlements | 2 +- BitDream/Widgets/AppGroup.swift | 2 +- BitDream/Widgets/README.md | 6 +++--- .../BitDreamWidgetsExtension.entitlements | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) 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..de49fc5 100644 --- a/BitDream.xcodeproj/project.pbxproj +++ b/BitDream.xcodeproj/project.pbxproj @@ -503,7 +503,7 @@ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 26.0; MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; SDKROOT = auto; @@ -553,7 +553,7 @@ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 26.0; MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "BitDream App Developer ID"; REGISTER_APP_GROUPS = YES; @@ -591,7 +591,7 @@ LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream.BitDreamWidgets; + PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream.BitDreamWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; SDKROOT = auto; @@ -637,7 +637,7 @@ LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; MARKETING_VERSION = 2.0.1; - PRODUCT_BUNDLE_IDENTIFIER = crapshack.BitDream.BitDreamWidgets; + 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 From 55687ee5b9563fc123464b7a5c9b01aeb903dda4 Mon Sep 17 00:00:00 2001 From: Austin Smith Date: Sun, 9 Aug 2026 00:30:49 -0700 Subject: [PATCH 2/2] bump version to 2.0.2 --- BitDream.xcodeproj/project.pbxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BitDream.xcodeproj/project.pbxproj b/BitDream.xcodeproj/project.pbxproj index de49fc5..3a4e51a 100644 --- a/BitDream.xcodeproj/project.pbxproj +++ b/BitDream.xcodeproj/project.pbxproj @@ -502,7 +502,7 @@ 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; + MARKETING_VERSION = 2.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -552,7 +552,7 @@ 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; + MARKETING_VERSION = 2.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream; PRODUCT_NAME = "$(TARGET_NAME)"; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "BitDream App Developer ID"; @@ -590,7 +590,7 @@ ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; + MARKETING_VERSION = 2.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.crapshack.BitDream.BitDreamWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -636,7 +636,7 @@ ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MACOSX_DEPLOYMENT_TARGET = 26.0; - MARKETING_VERSION = 2.0.1; + 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";