Sunday, April 22, 2012

Include a resource directory hierarchy into app bundle


I have a directory structure (multiple levels deep) of resources, that I would like to include into the app bundle. Is this possible without creating a Copy Files phase for each directory in the hierarchy individually?



Source: Tips4all

2 comments:

  1. Drag the source folder to the project "Groups & Files" area, say under the Resources group. In the dialog select "Create Folder References for any added folders". This will create a blue folder and the folder will and it's inter hierarchy will appear in the apps resources. This will automatically create an entry in "Copy Bundle Resources" build phase This is commonly done for help files.

    ReplyDelete
  2. As far as I know you can specify the top-level directory in the Copy Files phase, which should bring the entire directory's contents to the destination you specify.

    ReplyDelete