startUpdatingLocation Unavailable Watchkit 2

I have been trying to build a watchkit os 2 app and for some reason,

[self.locationManager startUpdatingLocation]

gives an error saying "startupdatinglocation is unavailalbe. I have been racking my brain and the developer forums on why this doesn't work, but there does not seem to be an objective c answer.

This call fails to compile because it's flagged with

__WATCHOS_PROHIBITED
.

As to why it fails to compile, I'm not up-to-speed on location issues for watchOS but it seems that continuous location tracking is not allowed on the watch itself. WWDC 2015 Session 714 What's New in Core Location discusses this in depth (haven't yet had a chance to watch it myself, alas).

Finally, I've moved your thread over to System Frameworks > Maps and Location, where you're more likely to find folks with experience doing this sort of thing.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
startUpdatingLocation Unavailable Watchkit 2
 
 
Q