From 016a3d14e5a262a64454bcb467ff043f83b141d5 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Fri, 27 Feb 2026 22:01:51 -0800 Subject: [PATCH] feat(project): add widget, watchOS, and complications targets to project.yml with dependencies --- ios/project.yml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/ios/project.yml b/ios/project.yml index ed70d84..a6b47ed 100644 --- a/ios/project.yml +++ b/ios/project.yml @@ -41,6 +41,10 @@ targets: INFOPLIST_KEY_CFBundleDisplayName: ChronoMind SUPPORTS_MACCATALYST: false SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: false + INFOPLIST_KEY_NSSupportsLiveActivities: true + dependencies: + - target: ChronoMindWidgets + - target: ChronoMindWatch entitlements: path: ChronoMind/ChronoMind.entitlements properties: @@ -62,11 +66,92 @@ targets: PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.tests GENERATE_INFOPLIST_FILE: true + ChronoMindWidgets: + type: app-extension + platform: iOS + deploymentTarget: "17.0" + sources: + - path: ChronoMindWidgets + excludes: + - "**/.DS_Store" + - path: ChronoMind/Shared/TimerEngine + - path: ChronoMind/Shared/AppGroup + - path: ChronoMind/LiveActivity/TimerActivityAttributes.swift + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.app.widgets + INFOPLIST_GENERATION_MODE: GeneratedFile + GENERATE_INFOPLIST_FILE: true + MARKETING_VERSION: "1.0.0" + CURRENT_PROJECT_VERSION: "1" + INFOPLIST_KEY_NSExtension_NSExtensionPointIdentifier: com.apple.widgetkit-extension + INFOPLIST_KEY_CFBundleDisplayName: ChronoMind Widgets + entitlements: + path: ChronoMindWidgets/ChronoMindWidgets.entitlements + properties: + com.apple.security.application-groups: + - group.com.chronomind.shared + + ChronoMindWatch: + type: application + platform: watchOS + deploymentTarget: "10.0" + sources: + - path: ChronoMindWatch + excludes: + - "**/.DS_Store" + - Complications + - path: ChronoMind/Shared/TimerEngine + - path: ChronoMind/Shared/AppGroup + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.app.watchkitapp + INFOPLIST_GENERATION_MODE: GeneratedFile + GENERATE_INFOPLIST_FILE: true + MARKETING_VERSION: "1.0.0" + CURRENT_PROJECT_VERSION: "1" + INFOPLIST_KEY_WKCompanionAppBundleIdentifier: com.chronomind.app + INFOPLIST_KEY_CFBundleDisplayName: ChronoMind + INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp: true + dependencies: + - target: ChronoMindWatchComplications + entitlements: + path: ChronoMindWatch/ChronoMindWatch.entitlements + properties: + com.apple.security.application-groups: + - group.com.chronomind.shared + + ChronoMindWatchComplications: + type: app-extension + platform: watchOS + deploymentTarget: "10.0" + sources: + - path: ChronoMindWatch/Complications + excludes: + - "**/.DS_Store" + - path: ChronoMind/Shared/TimerEngine + - path: ChronoMind/Shared/AppGroup + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.app.watchkitapp.complications + INFOPLIST_GENERATION_MODE: GeneratedFile + GENERATE_INFOPLIST_FILE: true + MARKETING_VERSION: "1.0.0" + CURRENT_PROJECT_VERSION: "1" + INFOPLIST_KEY_NSExtension_NSExtensionPointIdentifier: com.apple.widgetkit-extension + INFOPLIST_KEY_CFBundleDisplayName: ChronoMind Complications + entitlements: + path: ChronoMindWatch/ChronoMindWatch.entitlements + properties: + com.apple.security.application-groups: + - group.com.chronomind.shared + schemes: ChronoMind: build: targets: ChronoMind: all + ChronoMindWidgets: all ChronoMindTests: [test] run: config: Debug @@ -80,3 +165,17 @@ schemes: config: Debug archive: config: Release + + ChronoMindWatch: + build: + targets: + ChronoMindWatch: all + ChronoMindWatchComplications: all + run: + config: Debug + profile: + config: Release + analyze: + config: Debug + archive: + config: Release