Try HealthKit with the iOS Simulator without developer account

℡╲_俬逩灬. 提交于 2019-12-06 04:20:54

You need to add the entitlement to the project.

Goto Project Settings >> Capabilities

Scroll Down the list to HealthKit and Turn it ON

If you're testing on a real Device then you also need to add that entitlement from your apple developer account for that specific appID and update Provisioning profile and download it again.

The easiest way is to download the example app from:

https://developer.apple.com/library/ios/samplecode/Fit/Introduction/Intro.html

and play with it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!