• 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: xCode resources and paths in bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: knowing when WebView is done (From: Mark Bateman <email@hidden>)
 >Re: knowing when WebView is done (From: Rush Manbert <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)
 >Re: knowing when WebView is done (From: "Adam R. Maxwell" <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)
 >Re: knowing when WebView is done (From: "Adam R. Maxwell" <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)
 >xCode resources and paths in bundle (From: Mike <email@hidden>)

  • Prev by Date: Re: Java and Objective-C
  • Next by Date: Re: Java and Objective-C
  • Previous by thread: xCode resources and paths in bundle
  • Next by thread: Re: knowing when WebView is done
  • Index(es):
    • Date
    • Thread