Reader small image

You're reading from  Apple Watch App Development

Product typeBook
Published inApr 2016
Reading LevelIntermediate
Publisher
ISBN-139781785886362
Edition1st Edition
Languages
Right arrow
Author (1)
Steven F. Daniel
Steven F. Daniel
author image
Steven F. Daniel

Steven F. Daniel is the CEO and founder of GENIESOFT STUDIOS, a software development company based in Melbourne, Victoria, that focuses primarily on developing games and business applications for the iOS, Android, and Mac OS X platforms. He is an experienced software engineer with more than 17 years' experience and is extremely passionate about making people employable by helping them use their existing skills in iOS, Android, and Xamarin to get the job done. He is a member of the SQL Server Special Interest Group (SQLSIG), CocoaHeads, and the Java Community. He was the co-founder and Chief Technology Officer (CTO) at SoftMpire Pty Ltd., a company focused primarily on developing business applications for the iOS and Android platforms.
Read more about Steven F. Daniel

Right arrow

Building and running the Health Monitor application


In this section, we will take a look at how to compile and run our Health Monitor application. You have the option of choosing to run your application on the watchOS device, or within the simulators for Apple Watch:

  1. To run the app, select the HealthMonitor WatchKit App scheme and choose your preferred device, as shown in the following screenshot:

  2. Next, build and run the application by selecting Product | Run from the Product menu, or alternatively, by pressing Command + R.

When the compilation completes, the Health Monitor app will be displayed. If you haven't previously allowed access to HealthKit, you will receive a dialog popup on both, Apple Watch and the iOS device.

In order to proceed, you will need to allow access to HealthKit so that you can retrieve the allowable characteristics that we specified within our app. You have the ability to turn on and off certain features so that they don't appear within the app. Tapping on the Open "HealthMonitor...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apple Watch App Development
Published in: Apr 2016Publisher: ISBN-13: 9781785886362

Author (1)

author image
Steven F. Daniel

Steven F. Daniel is the CEO and founder of GENIESOFT STUDIOS, a software development company based in Melbourne, Victoria, that focuses primarily on developing games and business applications for the iOS, Android, and Mac OS X platforms. He is an experienced software engineer with more than 17 years' experience and is extremely passionate about making people employable by helping them use their existing skills in iOS, Android, and Xamarin to get the job done. He is a member of the SQL Server Special Interest Group (SQLSIG), CocoaHeads, and the Java Community. He was the co-founder and Chief Technology Officer (CTO) at SoftMpire Pty Ltd., a company focused primarily on developing business applications for the iOS and Android platforms.
Read more about Steven F. Daniel