Merge pull request 'fix: add missing iOS widget target for Dynamic Island / Live Activities' (#8) from fix/dynamic-island-widget-target into main
All checks were successful
CI / Detect Changes (push) Successful in 3s
CI / Admin Web CI (push) Has been skipped
CI / YouTube Worker (push) Has been skipped
CI / Deploy (push) Has been skipped

This commit was merged in pull request #8.
This commit is contained in:
2026-07-04 17:55:17 +02:00
2 changed files with 35 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>

View File

@@ -76,6 +76,8 @@ targets:
- target: TabataGoWatch
embed: true
- target: TabataGoWidget
embed: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.millianlmx.tabatago
@@ -156,6 +158,37 @@ targets:
TARGETED_DEVICE_FAMILY: "4"
WATCHOS_DEPLOYMENT_TARGET: "11.0"
TabataGoWidget:
type: app-extension
platform: iOS
deploymentTarget: "26.0"
sources:
- path: TabataGoWidget
excludes:
- "**/.DS_Store"
# Shared attribute types — needed by both main app and widget extension
- path: TabataGo/Models/WorkoutActivityAttributes.swift
group: TabataGoWidget
- path: TabataGo/Models/MusicActivityAttributes.swift
group: TabataGoWidget
info:
path: TabataGoWidget/Info.plist
properties:
CFBundleDisplayName: TabataGoWidget
CFBundleShortVersionString: "1.0"
CFBundleVersion: "2"
NSExtension:
NSExtensionPointIdentifier: com.apple.widgetkit-extension
NSSupportsLiveActivities: true
NSSupportsLiveActivitiesFrequentUpdates: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.millianlmx.tabatago.widget
INFOPLIST_FILE: TabataGoWidget/Info.plist
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
TARGETED_DEVICE_FAMILY: "1"
ENABLE_PREVIEWS: YES
TabataGoTests:
type: bundle.unit-test
platform: iOS
@@ -185,6 +218,7 @@ schemes:
build:
targets:
TabataGo: all
TabataGoWidget: all
run:
config: Debug
archive: