Xcode 4 embedded resource prevention
In XCode4, is there a way to have a 'resource' (i.e. a CSV used t开发者_StackOverflow社区o load a sqlite database) that is there for project purposes, but not have it compiled into my project? So my final app doesn't include it? I can't seem to see to to have this facility.
Thanks
Assuming you do not want the file get into your .app file, One solution i can think of is, do not include 'Target' when adding the file to the project. If you want to exclude your already added file then
- Choose the target
- Go to Build phases
- Expand copy bundle resources
- Select your resource file and remove it.
精彩评论