我想在 Mac OS X 10.8 Mountain Lion 的安全和隐私设置中从定位服务中删除应用程序。(即使卸载了这些应用程序,它们仍然被列出。)我在 Mac OS X 10.7 的安全和隐私中找到了从定位服务中删除应用程序的帖子,这让我朝着正确的方向前进。这是对我有用的 OS X 10.8.2 Mountain Lion 等效版本。主要区别在于clients.plist 文件的位置。我还想提供一个循序渐进的过程。
免责声明:这对我有用。确保您有一个良好的系统备份。此过程包括对 clients.plist 文件进行备份,但永远不会太安全。
1. 启动终端,然后 sudo 到 root shell
sudo -s
2. 转到/var/db/locationd
cd /var/db/locationd
3.备份clients.plist文件
cp -p clients.plist clients.plist.save
4.将clients.plist转为xml(可编辑格式)
plutil -convert xml1 clients.plist
5. 使用vi (vim) 编辑clients.plist 文件并删除应用程序。
vi clients.plist
该文件可能包含许多应用程序条目。这是单个应用程序条目的格式(在本例中为 Safari)。需要删除整个条目。
<key>com.apple.Safari</key>
<dict>
<key>Authorized</key>
<true/>
<key>BundleId</key>
<string>com.apple.Safari</string>
<key>Executable</key>
<string>/Applications/Safari.app/Contents/MacOS/Safari</string>
<key>LocationTimeStopped</key>
<real>376348187.80421197</real>
<key>Registered</key>
<string>/Applications/Safari.app/Contents/MacOS/Safari</string>
<key>RequirementString</key>
<string>identifier "com.apple.Safari" and anchor apple</string>
<key>Whitelisted</key>
<false/>
</dict>
Run Code Online (Sandbox Code Playgroud)
6.将clients.plist文件转换回二进制 …
system-preferences osx-mountain-lion location-services macos
我在任务栏中收到通知,有人访问了我的位置。右键单击托盘图标会显示在事件查看器中查看位置活动的选项。

但是,当我这样做时,会预先选择 FileHistory 的子树。
我应该寻找哪些事件?
我想在我的所有系统上使用“查找我的电脑”功能,但该功能是否有需要 MS 登录的硬性要求?