Re: xCode resources and paths in bundle
Re: xCode resources and paths in bundle
- Subject: Re: xCode resources and paths in bundle
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 7 Jun 2008 14:55:37 -0600
On Jun 7, 2008, at 7:54 AM, Mike wrote:
1. All these resources-files goes to same single directory inside
app.bundle (app.bundle/contents/resources)
How do I make them go to separate subfolders under resources?
i.e.
app.bundle/contents/resources/fonts
app.bundle/contents/resources/textures
app.bundle/contents/resources/templates
etc.
First of all, this is an Xcode question, not a Cocoa question, and
should be posted to the xcode-users list instead.
Secondly, please don't ever reply to existing messages when you want
to create a new message. This screws up threading in threaded mail
readers.
Now, to answer your question: You can either (1) include a folder
reference in the project with the files you want to go into the
subdirectory, rather than creating a new group, or (2) create extra
copy build phases that copy the files into the resources subfolder of
your choice.
2. If I add new files to those resourcefile-directories with finder
(i.e. new fonts, textures, etc) how do I make xCode automaticly
detect the new files and include them in build (and bundle)? Or do I
have to manually drag the added files to xCode everytime?
Use a folder reference instead of a group reference.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden