Desktop Mac Location Core Services?


I was looking to use OS Xs built in location services to obtain the current location from the OS in a desktop / console app. Can anyone point me in the right direction? It doesn’t appear to be in the core Xojo functionality for desktop, unless I’m missing something, so maybe a declaration of some sort or is there an API call that can be made to the OS?

Any help would be appreciated. Thanks!

There isn’t any built-in for Desktop but that’s where Christian’s Monkeybread Xojo Plugins come into play

1 Like

If I had any knowledge in declares I would give that a try since I’m looking for the same thing.
As of now I found a cli app that can get the latitude and longitude of the mac, whereami.

But I would like to use a built in way to do this if I could :slight_smile:

So, If someone would chime in here with knowledge…I might send a virtual cake :slight_smile:

Did you try MBS MacFrameworks Plugin plugin with CLGeocoderMBS class?

It’s for a side project at work and I don’t think I’ll get the funding for that. I’m sure it’s good though :slight_smile:

You can get a trial key and play with it: Trial License

Great, I’ll try it out when I’ve got some spare time on my hand :slight_smile:

There look ot be several options from this SO thread

1 Like