Before proceeding, we need to create our
HealthMonitor project using Xcode. Simply follow the steps listed next:
Launch Xcode from the
Choose Create a new Xcode project, or go to File | New Project.
Select the iOS App with WatchKit App option from the list of available templates under the watchOS section, as shown in the following screenshot:
HealthMonitoras the name for your project.
Select Swift from the Language drop-down menu.
Select iPhone from the Devices drop-down menu.
Ensure that the Include Notification Scene checkbox has been selected.
Click on the Next button to proceed to the next step in the wizard: