Add Apple Watch app (TickTick-style) + midnight period notifications
WenzaWatch (new watchOS target, embed disabled until the watchOS platform is installed — see project.yml note): - Today list of actionable tasks (dated today/overdue + recurring occurrences), tap-to-complete with haptics, and add-via-dictation. - Reads/writes the same tasks through the shared iCloud KV store that CloudSyncManager mirrors on the phone; watch entitlement uses the iOS app's kvstore identifier so they share one store. New tasks include all required TaskItem keys so the phone decodes them. - NOTE: not compiled here (watchOS SDK absent on this machine); iOS build verified green with the embed commented out. Period notifications: day/week/month/year now all fire at midnight (00:00), adding the daily "One more day passed." (Pretty Progress style). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
29
project.yml
29
project.yml
@@ -38,6 +38,11 @@ targets:
|
||||
dependencies:
|
||||
- target: KisaniCalWidgets
|
||||
embed: true
|
||||
# WenzaWatch is built/embedded only when the watchOS platform is installed.
|
||||
# Re-enable shipping it on the Watch by uncommenting the embed below (requires
|
||||
# Xcode > Settings > Components > watchOS):
|
||||
# - target: WenzaWatch
|
||||
# embed: true
|
||||
settings:
|
||||
base:
|
||||
SWIFT_VERSION: 5.9
|
||||
@@ -85,3 +90,27 @@ targets:
|
||||
LD_RUNPATH_SEARCH_PATHS: "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"
|
||||
APPLICATION_EXTENSION_API_ONLY: YES
|
||||
CODE_SIGN_ENTITLEMENTS: KisaniCalWidgets/KisaniCalWidgets.entitlements
|
||||
|
||||
WenzaWatch:
|
||||
type: application
|
||||
platform: watchOS
|
||||
deploymentTarget: "10.0"
|
||||
sources:
|
||||
- path: WenzaWatch
|
||||
info:
|
||||
path: WenzaWatch/Info.plist
|
||||
properties:
|
||||
CFBundleDisplayName: "Wenza"
|
||||
CFBundleShortVersionString: "$(MARKETING_VERSION)"
|
||||
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
|
||||
WKApplication: true
|
||||
WKCompanionAppBundleIdentifier: com.kutesir.KisaniCal
|
||||
settings:
|
||||
base:
|
||||
SWIFT_VERSION: 5.9
|
||||
GENERATE_INFOPLIST_FILE: NO
|
||||
PRODUCT_BUNDLE_IDENTIFIER: com.kutesir.KisaniCal.watchkitapp
|
||||
TARGETED_DEVICE_FAMILY: "4"
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
CODE_SIGN_ENTITLEMENTS: WenzaWatch/WenzaWatch.entitlements
|
||||
INFOPLIST_KEY_CFBundleDisplayName: "Wenza"
|
||||
|
||||
Reference in New Issue
Block a user