I\'m adding code for healthkit in my ios Swift app, but I\'m getting an error...
/* Ask for permission to access the health store */
override func viewDidAppear
Both of the above answers should be tried first. If however
Then try and force the build to use that specific provisioning profile by selecting your target and going to
build settings -> code signing -> provisioning profile
and selecting it manually.
I've run into cases where get the above error in debug if 'automatic selection' is being used