I'm the developer of Upcurve, a habit tracker that times sets like dead hangs and planks and charts Apple Health data. Here are the parts that took me longer than they should have, in case they save someone an evening.
Get-ready countdown: I didn't add a separate countdown state. The session's start date is simply set a few seconds in the future. Elapsed time, the Live Activity and the "goal reached" notification all count from the real start, and stopping before the start date just cancels.
Hearing the goal with the phone on the floor: a notification sound respects the silent switch, which is useless during a hang. In the latest version, the app plays its own short beep through an AVAudioSession with the playback category and mixWithOthers, so it's heard on silent and doesn't stop your music. The beep is a WAV generated in code, no asset. It only plays at the moment the goal is hit, never late after coming back from the background.
Stop at goal: if the goal passed while the app was suspended, the set is logged at exactly the goal time when the app comes back, instead of the elapsed time.
iPhone Duo: building with the 27.1 SDK was enough for the layout. The tab bar and toolbar moved to the side edge by themselves. In UI tests, XCUIScreen.main gave me the outer display even with the device open, so I take store screenshots from the Mac side.
Review: my first submission was rejected because the empty first-launch state looked broken on an iPad (the app is iPhone-only, review still runs it on iPad), and a later one because the description didn't link the terms of use.
App Store: https://apps.apple.com/app/apple-store/id6793254579?pt=129200681&ct=reddit-iosdev&mt=8