Re: Folder reference updates (was:Moving from CodeWarrior to Xcode)
Re: Folder reference updates (was:Moving from CodeWarrior to Xcode)
- Subject: Re: Folder reference updates (was:Moving from CodeWarrior to Xcode)
- From: James Meiss <email@hidden>
- Date: Fri, 18 Aug 2006 12:02:44 -0600
At 2:51 PM -0700 8/17/06, Shawn Erickson wrote:
On 8/17/06, email@hidden <email@hidden> wrote:
Hi,
I'm moving my project from CodeWarrior to Xcode and Xcode builds my
application a little different than CodeWarrior. I keep my graphics
files in a folder. CodeWarrior moves the graphics folder into the
"Resources" folder of the application, but Xcode moves just the files
in the folder. Is there a way to change that?
A few ways...
1) IIRC add the folder of images as a folder reference then add the
folder reference to the resource copy phase.
2) Add a new copy build phase that targets a directory under the
resources directory and add your images to that phase.
Okay. I have a build phase called "Copy Bundle Resources (5)" that
contains my help files (in a directory called "MyApp Help"), icon and
nib files. "MyApp Help" folder is a member of my target.
However: if I update a help file, say "MyApp
Help/pgs/aboutMyApp.html" then it doesn't get copied to the project
when I recompile.
If I delete the application (in build/Development say) and recompile,
then the files to get copied.
So xCode isn't able to track the modification dates for resources?
At 4:53 PM -0600 8/17/06, Scott Ribe wrote:
I just drag a folder into "Resources" in the project tree, and select
"folder reference", and XCode creates the folder within the resources folder
of the target and copies its contents. No adding of anything to any phase.
My folder is also listed in the "Files" list of my project" as "File
type: folder"....
--
James Meiss
<http://amath.colorado.edu/faculty/jdm>
_______________________________________________
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