위치정보를 사용하는 맥 어플 개발하다 보면
제일 처음에 앱을 실행하면 사용자 승인 과정을 거치는데
테스트를 위해 이 과정을 다시 거쳐야 하는 경우가 있습니다.
이 경우 위치정보를 사용하는 어플리스트를 제거해야 하는데
트친분이신 @godrm 김정님이 친절하게 찾아 주시네요
감사합니다. ^^
아래는 그 방법입니다.
Open a root shell in Terminal, and go to /var/folders/zz/
. Run ls -l
and enter the directory owned by _locationd
.
Open the C
subdirectory, and run the following command to convert the preferences file from binary to XML:
plutil -convert xml1 clients.plist
Now edit the file e.g. in vim
from the command line, removing the application (both key
and dict
afterwards) you no longer want to have appear on the list.
Save, and killall locationd
to have it reload from the settings file.
Chances are, that the PromptedSettings
key is useful as well, if no authorization is given, but I leave figuring this out to the reader.
'Mac OS X' 카테고리의 다른 글
애플 타임캡슐 사용기 (1) | 2010.07.09 |
---|---|
#TweetMusic iTunes로 듣고 있는 음악, 트윗 친구들과 공유해 보세요. (맥용입니다) (1) | 2010.03.19 |
Parallels Desktop (4) | 2009.12.31 |
아이맥27 구입기 / 개봉기 (2) | 2009.12.20 |
맥에서 윈도우를 원격제어 해봅시다. (2) | 2009.04.20 |