feat(project): add widget, watchOS, and complications targets to project.yml with dependencies
This commit is contained in:
parent
36523334c4
commit
016a3d14e5
@ -41,6 +41,10 @@ targets:
|
|||||||
INFOPLIST_KEY_CFBundleDisplayName: ChronoMind
|
INFOPLIST_KEY_CFBundleDisplayName: ChronoMind
|
||||||
SUPPORTS_MACCATALYST: false
|
SUPPORTS_MACCATALYST: false
|
||||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: false
|
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: false
|
||||||
|
INFOPLIST_KEY_NSSupportsLiveActivities: true
|
||||||
|
dependencies:
|
||||||
|
- target: ChronoMindWidgets
|
||||||
|
- target: ChronoMindWatch
|
||||||
entitlements:
|
entitlements:
|
||||||
path: ChronoMind/ChronoMind.entitlements
|
path: ChronoMind/ChronoMind.entitlements
|
||||||
properties:
|
properties:
|
||||||
@ -62,11 +66,92 @@ targets:
|
|||||||
PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.tests
|
PRODUCT_BUNDLE_IDENTIFIER: com.chronomind.tests
|
||||||
GENERATE_INFOPLIST_FILE: true
|
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:
|
schemes:
|
||||||
ChronoMind:
|
ChronoMind:
|
||||||
build:
|
build:
|
||||||
targets:
|
targets:
|
||||||
ChronoMind: all
|
ChronoMind: all
|
||||||
|
ChronoMindWidgets: all
|
||||||
ChronoMindTests: [test]
|
ChronoMindTests: [test]
|
||||||
run:
|
run:
|
||||||
config: Debug
|
config: Debug
|
||||||
@ -80,3 +165,17 @@ schemes:
|
|||||||
config: Debug
|
config: Debug
|
||||||
archive:
|
archive:
|
||||||
config: Release
|
config: Release
|
||||||
|
|
||||||
|
ChronoMindWatch:
|
||||||
|
build:
|
||||||
|
targets:
|
||||||
|
ChronoMindWatch: all
|
||||||
|
ChronoMindWatchComplications: all
|
||||||
|
run:
|
||||||
|
config: Debug
|
||||||
|
profile:
|
||||||
|
config: Release
|
||||||
|
analyze:
|
||||||
|
config: Debug
|
||||||
|
archive:
|
||||||
|
config: Release
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user