Include a resource directory hierarchy into app bundle
IphoneXcodeIphone Problem Overview
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?
Iphone Solutions
Solution 1 - Iphone
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.
Solution 2 - Iphone
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.