Get location data from CoreLocation framework in MacOS