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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to