Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Include a resource directory hierarchy into app bundle

Tags:

xcode

iphone

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?

like image 777
Jaka Jančar Avatar asked Sep 09 '09 18:09

Jaka Jančar


1 Answers

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.

like image 185
zaph Avatar answered Sep 20 '22 19:09

zaph