• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Solved. Re: updating help-book in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved. Re: updating help-book in Xcode


  • Subject: Re: Solved. Re: updating help-book in Xcode
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 22 Jul 2009 11:59:33 -0700


On Jul 22, 2009, at 10:32 AM, John Velman wrote:

Thanks to all who answered. A couple of messages stimulated my thinking,
and I've found what seems to be a simple approach.


Under targets, select the blue help folder, and press compile! This is
simple enough for me, and is a lot better than "clean". When I understand
Xcode better, probably this could be put into a script. But I can do it by
hand easily enough for now.

I'm extremely curious as to why this actually works for you.

The root cause of the problem, as already mentioned, is that Xcode treats the folder reference (blue folder) as an atomic item, and copies its contents in an all-or-nothing fashion. It only checks the modification date of the folder itself, not of the individual files in it. So if you add or remove files from the folder, it will be re- copied on the next build, but if you simply edit the contents of a file in it, Xcode will not just copy that one updated file.

I don't know of any mechanism whereby selecting the folder and choosing Compile would do what you're asking, but I'll poke around and see if there's some obscure mechanism that does it.

The best way is to use the Terminal and enter "touch /full/path/to/the/ helpbook/folder" to mark the folder as changed, then Xcode will recopy the folder without having to do a full clean.

Chris
_______________________________________________
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


  • Follow-Ups:
    • Re: Solved. Re: updating help-book in Xcode
      • From: John Velman <email@hidden>
References: 
 >updating help-book in Xcode (From: John Velman <email@hidden>)
 >Solved. Re: updating help-book in Xcode (From: John Velman <email@hidden>)

  • Prev by Date: Re: Build Configuration Enhancement (Re: How to create dependent projects?)
  • Next by Date: Re: Build Configuration Enhancement (Re: How to create dependent projects?)
  • Previous by thread: Solved. Re: updating help-book in Xcode
  • Next by thread: Re: Solved. Re: updating help-book in Xcode
  • Index(es):
    • Date
    • Thread