Hi. I am reading the 22nd chapter of the book “WatchOS by Tutorial” and I followed the steps up to page 411 (“Running the apps on your devices”). I already had to correct a bug that caused the app to crash because in the WalksTableViewController the casts to CGFloat caused an EXC_ARM_BREAKPOINT exception ( to fix it I had to change the cast from CGFloat to Int instead). After correcting this bug the app worked without crashing, but I can’t get pedometer data (the steps are always 0). It prints this error on the console:
“2017-08-25 23:09:25.311531+0200 DreamWalker WatchKit Extension[289:635237] CoreLocation: Error occurred: The operation couldn’t be completed. (CMErrorDomain error 105.)”
From what I understand it’s about permissions. But I have the “motion and fitness” option already enabled. Any help please?