Contents

Building a multidevice workout app

Mirror a workout from a watchOS app to its companion iOS app, and perform bidirectional communication between them.

Overview

Configure the sample code project

This sample code project needs to run on physical devices. Before you run it with Xcode:

  • Set the developer team for all targets to let Xcode automatically manage the provisioning profile. For more information, see Assign a project to a team.

  • In the Info pane of the MirroringWorkoutsSample Watch App target, change the value of the WKCompanionAppBundleIdentifier key to the bundle ID of the iOS app.

See Also

Sessions