cupertino-sample-code/healthkit-building-a-workout-app-for-iphone-and-ipad
Mihaela Mihaljevic 37fd4fb24f Initial commit: 606 Apple sample code projects
MIT License - Apple Developer sample code
Downloaded via Cupertino (https://github.com/mihaelamj/cupertino)
2025-12-03 00:19:12 +01:00
..
Configuration Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
Shared Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
WorkoutsOniOSSampleApp Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
WorkoutsOniOSSampleApp.xcodeproj Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
WorkoutWidget Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
.gitignore Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
LICENSE.txt Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
README.md Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00

Building a workout app for iPhone and iPad

Start a workout in iOS, control it from the Lock Screen with App Intents, and present the workout status with Live Activities.

Overview

Note: This sample code project is associated with WWDC25 session 322: Track workouts with HealthKit on iPhone and iPad.

Configure the sample code project

To configure the sample code project, do the following:

  1. Open the sample with the latest version of Xcode.
  2. Set the developer team for all targets to let Xcode automatically manage the provisioning profile. For more information, see Set the bundle ID and Assign the project to a team.