Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.04 KB

File metadata and controls

20 lines (13 loc) · 1.04 KB

WatchOS example - Add event tracking with user consent to a workout app

Add event tracking using the Split iOS SDK with user consent.

Overview

Configure the sample code project

Before you run the sample code project in Xcode:

  1. Open the sample with the latest version of Xcode.
  2. Select the top-level project.
  3. For the three targets, select the correct team in the Signing & Capabilities pane (next to Team) to let Xcode automatically manage your provisioning profile.
  4. Make a note of the Bundle Identifier of the WatchKit App target.
  5. Open the Info.plist file of the WatchKit Extension target, and change the value of the NSExtension > NSExtensionAttributes > WKAppBundleIdentifier key to the bundle ID you noted in the previous step.
  6. Make a clean build and run the sample app on your device.