Skip to main content
How to install the demo app on iOS

This article provides a step-by-step guide on how to install and run the demo app for iOS.

Jonas Ducker avatar
Written by Jonas Ducker
Updated over a week ago

This article provides a step-by-step guide on how to install and run the demo app for iOS, covering both available options: the monolithic and modular approaches.

With this tutorial app, you will be able to:

  • Add a new user

  • Fetch summaries and health events

  • Upload summaries and events

Requirements:

To run and test the demo app, you will need the following tools:

  • Xcode 14.1 or above

  • An iPhone with iOS 13.0 or above

  • An Apple Watch

Installation Steps:

1. Clone the project located in the demo app repository. Copy the URL of the repository.

2. Open Terminal.
โ€‹

3. Change the current working directory to the location where you want to clone the project.
โ€‹

4. Type "git clone" and then paste the URL you copied earlier.

5. Open the project with Xcode.

4. Configure the SDKs in the App Delegate.

5. Add your development team and change the bundle identifier.

By following these steps, you should successfully install and set up the demo app on your iOS device.

Running the Application:

To run the demo app, it is recommended to use a physical device paired with an Apple Watch. Additionally, the Health app must be installed on the device, as all health data is stored in the Health app.

Considerations for Running the Demo App:

  • The SDK only retrieves data that has been injected from an Apple Watch. This implies that if the user manually adds data, it will be ignored.

  • The user must grant access to health data for the app to function properly.

  • Note that health data cannot be read if the device is locked, as the database is encrypted.

By keeping these considerations in mind, you can ensure a smoother experience while running the demo app.

Did this answer your question?