Post

Replies

Boosts

Views

Activity

Reply to CLLocationManager: getting kCLErrorDenied in widget
hi I don't have a solution for the problem you described but I believe I have the very same problem which I described here: https://developer.apple.com/forums/thread/737879 CLLocationManager sends location data to 'didUpdateLocations' when running in the simulator but not on the physical device. The only difference I noticed is that the error that 'didFailWithError' is a different one than the one you have received. In my app the same error code arrives (Error Domain=kCLErrorDomain Code=1 "(null)") but its description says "Operation could not be completed". I noticed this error also when running the app in the simulator but nevertheless the location data is delivered even though this error was shown at the beginning of location data delivery. On the physical device the error arrives and no location data arrive. Thomas
Sep ’23