• 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
Subdirectories in app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subdirectories in app bundle


  • Subject: Subdirectories in app bundle
  • From: Jeff LaMarche <email@hidden>
  • Date: Wed, 15 Oct 2008 16:02:59 -0400

I've got an application with a lot of resource files, many with the same name, but contained in subdirectories, like

/level1
	/file1
	/file2
	/file3
/level2
	/file1
	/file2
	/file3

I'd like to have the files copied into the application bundle, preserving the directory structure, so that I can use pathForResource:ofType:inDirectory: to retrieve the right one, but it's not clear how to set up the Copy Files build phases to preserve the data structure. Is there a way to do this automatically, or do I have to add build phases to create the necessary directories, etc.?

Thanks,
Jeff

_______________________________________________
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


  • Follow-Ups:
    • Re: Subdirectories in app bundle
      • From: Keith Duncan <email@hidden>
  • Prev by Date: Re: Library tripled in size with GCC 4.2
  • Next by Date: Re: Refactoring does not work
  • Previous by thread: Re: Remote debugging problems in Xcode
  • Next by thread: Re: Subdirectories in app bundle
  • Index(es):
    • Date
    • Thread