Thanks Quinn,
You're right, it's a CLI tool wrapped in an app bundle however, it's not running as a daemon and it is able get the location authorization and to print my location.
So, following your advice, I've wrapped this into a GUI app, and surprise, it did work correctly.
So now I don't really get what makes the difference.
They both:
include exactly the same entitlements,
are able to receive the location permission and print my location,
neither of them has those NSLocation* strings in Info.plist.
But the GUI app is able to get the list of networks, and the CLI app is not.
Can it be a matter of having an AppDelegate?
Post
Replies
Boosts
Views
Activity
Hi Quinn,
Thank you for suggestions. I've tried on my other machine, so I can confirm that:
It does work as expected on 15.0.1 (Intel).
But does not work on 15.1.1 (ARM).
Actually it's currently built as a bundle and I'm testing it that way. But I tried both ways, a bundle and a standalone executable. Also tried with a provisioning profile (not sure if that matters).