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

a 夏天 提交于 2019-12-10 02:02:14

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/5720478/store-folders-in-package-contents-bundle-resources-in-xcode-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!