Comments (15)
Trying running whereami. After it gripes about location services not being enabled, toggle Location Services off, and then back on in System Preferences.
Then, from an account with admin privileges, you need to . . .
sudo cp /var/db/locationd/clients.plist /var/db/locationd/clients.plist.backup
sudo cp /var/db/locationd/clients.plist ~/Desktop/clients.plist
Then, with your preferred editor, add the following lines in the dictionary entry for whereami . . .
<key>Authorized</key>
<string>YES</string>
<key>Whitelisted</string>
<string></string>
Finally . . .
sudo cp ~/Desktop/clients.plist /var/db/locationd/clients.plist
Make sure permissions and ownership of the file are correct after you copy it back to /var/db/locationd. Then, restart your device.
from whereami.
same problem on 13.2.1
from whereami.
Having the same problem on macOS 13.2.1 too.
from whereami.
I was able to get Whereami working. I thought I'd post the work around here just in case you're still trying to figure this out. Check out this link and read jtsigros comment. Make a backup of /var/db/locationd/clients.plist. Then, copy the file to your desktop. Convert the file to xml using "plutil -convert xml1 ~/Desktop/clients.plist". Make the changes suggested by jtsigros. Then, convert the file back to binary and copy it back to /var/db/locationd/. After you check that permissions and ownership are correct, restart the device. Following those steps worked for me on an Apple silicon Mac running macOS 13.2.1.
from whereami.
Sorry I don't see a link in your comment!
from whereami.
Oohps! Sorry about that. Let me look for it now.
from whereami.
Check this link out, fulldecent/corelocationcli#46. Then, look for the comments by jtsigros.
from whereami.
The same issue on 13.2.1
from whereami.
The same issue on 13.2.1
Did you follow the link above? The linked fix was intended for a different location utility, but I can confirm that it worked for this instance of whereami on macOS 13.2.1.
from whereami.
Trying running whereami. After it gripes about location services not being enabled, toggle Location Services off, and then back on in System Preferences.
Then, from an account with admin privileges, you need to . . . sudo cp /var/db/locationd/clients.plist /var/db/locationd/clients.plist.backup sudo cp /var/db/locationd/clients.plist ~/Desktop/clients.plist
Then, with your preferred editor, add the following lines in the dictionary entry for whereami . . .
<key>Authorized</key>
<string>YES</string>
<key>Whitelisted</string>
<string></string>
Finally . . . sudo cp ~/Desktop/clients.plist /var/db/locationd/clients.plist
Make sure permissions and ownership of the file are correct after you copy it back to /var/db/locationd. Then, restart your device.
I read through entire issue but getting same message
Access to location services was denied. You may need to enable access in System Preferences.
from whereami.
Did you restart your device after editing the clients.plist?
from whereami.
Did you restart your device after editing the clients.plist?
I did
from whereami.
How many accounts are you attempting to run the whereami app in? You'll have to run whereami in every account that you want to use it in. After it throws its "access denied" message in each account, edit clients.plist as an admin user. If you attempted to run whereami in two accounts, clients.plist should have two different dictionary keys, one for each account. You'll have to authorize and whitelist both of them. I hope this info helps you.
from whereami.
I followed the same steps, still have the same error message. I am only logged into one account, and im the only user of the machine.
I am on Sonoma 14.4.1 (23E224)
from whereami.
Whore those who are on Sonoma.
Follow this fulldecent/corelocationcli#46 (comment), but! Add Authorized with boolean type = true into the plist file. those guys at apple, waaa!
from whereami.
Related Issues (11)
- Automation issues HOT 4
- Password:Access to location services was denied. You may need to enable access in System Preferences.
- JSON output HOT 2
- Not an issue, but this is awesome.
- Not an issue as well, I've made a Brew cask HOT 2
- aligned output and updated deprecated code HOT 3
- [Request] Make an iOS version HOT 1
- What is the license on this? HOT 2
- Not working in Catalina
- OpenCage Warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whereami.