Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

store folders in package contents (bundle resources) in xcode 4.0

I need to store a folder in the package contents, not all files in the project all in one root folder.

How can I do this in XCode 4.0?

Right now I am going to the Build Phases > Copy Bundle Resources to attempt these changes.

like image 470
pyramation Avatar asked Apr 19 '11 17:04

pyramation


1 Answers

Create your folder in the filesystem, then drag it to the resource folder in XCode. In the following dialog select create folder reference for any added folder. The folder should be blue. This folder is copied to your bundle with its contents.

like image 81
Nick Weaver Avatar answered Sep 27 '22 21:09

Nick Weaver