15 steps, each built for both a real device and the simulator with zero errors before the next began, and the core tested on my own iPhone and Apple Watch. Open a step to see what it added.
ProblemI walked far from my phone and nothing happened: with the watch on Wi-Fi, Apple's watch–phone link stayed "reachable" through iCloud, and pings were answered from across town.
FixDiTether's own Bluetooth link between the two apps, which can't be relayed over the internet. Its signal strength now drives the alerts, and it overrules every weaker signal.
ProblemThe watch app crashed the moment the phone went out of range.
FixCore Location checks UIBackgroundModes, not the watch's WKBackgroundModes, before allowing background GPS. The key moved, and a check now skips background GPS instead of crashing if it is ever missing.
ProblemThe background workout session ended when I left the app, and nothing said so.
FixThe session now runs with Apple's live workout builder, resumes when paused, is recovered after a crash, announces an unexpected end, and can be restarted from the iPhone.
ProblemHome and safe places added during setup never reached the watch: the settings were sent once, before the watch app was installed.
FixUnsent settings are kept and retried when the connection starts, the watch app appears, or the watch becomes reachable.
ProblemAdding one new setting would have thrown away the whole saved file, safe places included.
FixEvery field decodes with a default when missing, tested against a file from the earlier version.
ProblemA user standing still got no fresh GPS readings, which could end a real alert or set off a false one at home.
FixWhen the last reading is older than 20 s, tracking restarts to force a fresh one, and a separation started by distance only ends on proof you are close again.
ProblemAfter an iPhone restart its Bluetooth beacon is gone, which looked exactly like leaving the phone behind.
FixThe watch's ping relaunches the iPhone app. A reply in under 0.8 s means the phone is right here, so the loud alert waits 15 s for Bluetooth to return.
Problem"Ring iPhone" followed the volume, so a phone turned down stayed quiet.
FixThe volume is raised to the maximum through the system volume slider while ringing and put back afterwards, with a harsher generated tone and vibration.