一个给个人使用的 iPhone + Apple Watch app,核心目标是提醒喝水,并在久坐时提醒用户起来活动一下。
第一版坚持简洁体验:不做账号、不做社交、不做复杂健康报告。喝水是主功能,久坐提醒是辅助功能。
Core behavior is tested through the Swift package:
swift testThe default local settings cover the first-run baseline: 2000ml daily goal, goal reminder mode, 100ml/200ml/300ml quick amounts, 45-minute sedentary interval, shared reminder hours, and the clear blue, teal, and deep blue water color options.
The iPhone app skeleton lives in the RememberWater Xcode scheme and targets iOS 17+:
xcodebuild -project RememberWater.xcodeproj -scheme RememberWater -configuration Debug -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO buildThe Watch app skeleton lives in the RememberWaterWatch scheme and targets watchOS 10+. Building it as an app bundle requires a watchOS simulator/device platform installed in Xcode; when only the Watch simulator SDK is available, the source can still be checked with:
WATCH_SDK=$(xcrun --sdk watchsimulator --show-sdk-path) && xcrun swiftc -target arm64-apple-watchos10.0-simulator -sdk "$WATCH_SDK" -parse-as-library -typecheck Apps/Watch/RememberWaterWatchApp.swift Apps/Watch/WatchRootView.swift Sources/RememberWaterCore/RememberWaterCore.swiftFor the first personal sideload pass, open the Xcode project, select the same development team for the iPhone app, iPhone widget, Watch app, and Watch complication targets, then follow the real-device checklist.