Bugzilla – Bug 7278
CoreLocation not working with MonoMac
Last modified: 2015-05-26 12:09:58 EDT
It would seem that core location is not working for some reason. I'm using the
and the .UpdatedLocation event is never raised. I posted about the issue on
StackOverflow, and the issue was verified by at least one other person:
I have verified that the application has location enabled in the privacy
settings. I am on the latest version of the OS (Mountain Lion).
Confirmed that UpdatedLocation is not being called and the UI is never updating
I bet this is another of those c# event are wrong due to stomping or such.
If you replace the events with a delegate instance, does it work?
Oh, and apologies Joel on the crazy long delay in response. This bug was
misfiled and lost until now. We're working on clearing up our backlog of bug.
We're working to make sure it doesn't happen again in the future.
It looks like the issue here is that the UpdatedLocation method was deprecated
back in 10.6. There's a LocationsUpdated method now that should be what's
needed instead (I tried adding it to the sample and it was being being called
repeatedly while UpdatedLocation was not).
The sample needs to be updated since it's not working per my comment above (#4)
Fixed in mac-samples/master: 51487f66ccefa5f9ff9c0f685559564f87f17607