I have a Xcode 'Command Line Tool' project written in C++. I recently added the CoreLocation framework and associated code to find the users location.

Usually, when I implement the CoreLocation framework OS X will ask to me grant permission for the application. This doesn't happen with my Command Line Tool. Is it because there is no associated window / menu?

Also, if I try to manually enable permission in the System Preferences pane under Security > Privacy it automatically gets disabled each time I run the application - even though I've explicitly allowed access.

Any information would be greatly appreciated.

Edit
Report