Widgets: - HabitsProgressWidget (small/medium): progress ring, completed/total habits, tasks count - HealthSummaryWidget (small/medium): readiness score, steps, sleep, heart rate - Shared Keychain access group for app ↔ widget token sharing - Widget data refreshes every 30 minutes Sleep fix: - Changed sleep window from "24 hours back" to "6 PM yesterday → now" - Captures overnight sleep correctly without showing previous day's data - Applied to both fetchSleepData (sync) and fetchSleepSegments (detail view) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: PulseHealth
|
|
options:
|
|
bundleIdPrefix: com.daniil
|
|
deploymentTarget:
|
|
iOS: "17.0"
|
|
targets:
|
|
PulseHealth:
|
|
type: application
|
|
platform: iOS
|
|
sources: PulseHealth
|
|
entitlements:
|
|
path: PulseHealth/PulseHealth.entitlements
|
|
dependencies:
|
|
- target: PulseWidgetExtension
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.daniil.pulsehealth
|
|
SWIFT_VERSION: 5.9
|
|
INFOPLIST_FILE: PulseHealth/Info.plist
|
|
CODE_SIGN_STYLE: Automatic
|
|
CODE_SIGN_ENTITLEMENTS: PulseHealth/PulseHealth.entitlements
|
|
DEVELOPMENT_TEAM: V9AG8JTFLC
|
|
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
|
|
capabilities:
|
|
BackgroundModes:
|
|
modes:
|
|
- processing
|
|
|
|
PulseWidgetExtension:
|
|
type: app-extension
|
|
platform: iOS
|
|
sources: PulseWidget
|
|
entitlements:
|
|
path: PulseWidget/PulseWidget.entitlements
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.daniil.pulsehealth.widget
|
|
SWIFT_VERSION: 5.9
|
|
CODE_SIGN_STYLE: Automatic
|
|
DEVELOPMENT_TEAM: V9AG8JTFLC
|
|
INFOPLIST_FILE: ""
|
|
info:
|
|
path: PulseWidget/Info.plist
|
|
properties:
|
|
CFBundleDisplayName: Pulse Widget
|
|
NSExtension:
|
|
NSExtensionPointIdentifier: com.apple.widgetkit-extension
|