11

I registered help book 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?

JWWalker
  • 22,385
  • 6
  • 55
  • 76
disorderdev
  • 1,458
  • 1
  • 14
  • 28

3 Answers3

8

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
Richard Garside
  • 87,839
  • 11
  • 80
  • 93
  • This should be the top answer; the linked KB document is returning a 404, and can't be found anywhere it seems. Just running the commands in the Terminal (don't need to run the last one, as it will be run next time Help Viewer opens) works great in Lion and Mountain Lion! – geerlingguy Sep 25 '12 at 02:31
  • `killall helpd` didn't seem to work for me on 10.10.3. All I needed to do, though, was trash the `~/Library/Caches/com.apple.help*` as above. – Todd Apr 19 '15 at 08:04
1

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

VaughnSC
  • 111
  • 1
0

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.

kallikak
  • 844
  • 6
  • 13