I registered help bo开发者_C百科ok for my app, then in the following days, I updated the help book, but when I execute my app, the help book is still the old version, it's not updated, is there any way to unregister help book? or let it update?
I've found a nice blog post that includes a script that clears help viewer's cache and restarts the help daemon.
http://macergun.blogspot.co.uk/2011/06/dealing-with-help-viewer-cache.html
The script looks like this:
rm -rf ~/Library/Caches/com.apple.help*
rm -rf ~/Library/Preferences/com.apple.help*
rm -rf ~/.Trash/*
killall helpd
defaults write com.apple.helpindexer IndexAnchors YES
You need to flush the cache: it involves deleting a couple of folders and restarting the help daemon: See http://support.apple.com/kb/TS3335
You should make sure you don't have any copies of your application with the old help book lying around. If you do the Help Viewer will find and display the old help.
精彩评论