Re: updating help-book in Xcode
Re: updating help-book in Xcode
On Thu, Jul 23, 2009 at 11:00:01AM -0700, Matt Neuburg wrote:
> On Mon, 20 Jul 2009 10:46:51 -0700, John Velman <email@hidden> said:
> >I've been trying to learn how to add help by building a simple "help test
> >bed" application. So far, I find that after I make changes to my help
> >book, I need to do build->clean before building, in order to get the
> >changes into the build. This is OK for this small application, but for
> >something larger, this will be something of a nuisance.
> >
> >Is there a faster way to get the new help book into the build?
>
> I think it is sufficient to Touch the top level help book folder within
> Xcode.
>
> Another approach, of course, is to bypass Xcode altogether; once the help
> test bed app is written, just stick a new copy of the help book folder
> directly into the built app bundle yourself. I very often do it this way. In
> fact, I often do it for well-established apps; for example, when Mark sends
> me a new version of Script Debugger and I update the help to match it, I'm
> not going to wait for him to do yet *another* build including my updated
> help, just so I can test it in place! I simply plop the updated help book
> right into the Script Debugger bundle myself and test away.
>
> The *real* issue, however, is not this, but that fact that the Help Viewer
> system needs to be alerted to the fact that the help book has changed. This
> is a major pain in the butt (one of many, many major pains in the butt
> associated with the very lame Help system on Mac OS X). The best approach is
> probably to delete the Help caches (I think it suffices to throw away
> Caches/com.apple.help*). But sometimes I find that nothing short of
> restarting the computer will help. Also sacrificing a goat has been known to
> be effective. m.
>
Thanks! Very useful. Unfortunately I don't have any goats, so I'll have
to stay with the other approaches.
Best,
John V.
> --
> matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.tidbits.com/matt/default.html#applescriptthings
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden