Getting Touched Resources to be Recopied
Getting Touched Resources to be Recopied
- Subject: Getting Touched Resources to be Recopied
- From: Jerry Krinock <email@hidden>
- Date: Sat, 23 Jun 2007 13:09:55 -0700
In my project's Resources, I have an Xcode-localized Documentation
folder with many .html files in it. The problem is to get Xcode to
automatically notice when these have been modified and re-copy them
into the Product. I have tried:
1. Modifying in BBEdit (assuming Xcode might remember and check
file
modification dates).
2. Editing by doubleclicking the file in Xcode and using
Xcode's editor
(which does not seem to know syntax coloring for html :< )
3. Right-clicking and "Touch".
None of these methods work. When I first switched from CodeWarrior
to Xcode, I was so frustrated by this and the mysterious way that
Xcode handles "localized" resources (which I now understand) that I
added a Shell Script Build Phase to simply copy all of my projects
"Resources" folder (a ^real^ directory) into the product, each time
it was built, "like good ol' CodeWarrior did". I was hoping to get
rid of some of my Shell Script, now that I understand Xcode better,
but this doesn't look good.
Sheesh, it only takes about 100 milliseconds to do the Shell Script
copy of the whole Resources, much less than the "Clean" and recompile
everything, which is the only way I can get Xcode to copy edited
Resources.
The list archives shows others have had similar frustrations. I
think I'm going to file a bug on this. Anyone want to add their
comments? In particular, is it still this way in Xcode 2.5? I'm
still using Xcode 2.4 because the Xcode 2.5 I picked up last week
tells me, after 5 minutes of disk-gnashing, "Installation Failed" :(
Jerry
_______________________________________________
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