在xcode 4.0中的包内容(捆绑资源)中存储文件夹 [英] store folders in package contents (bundle resources) in xcode 4.0

查看:57
本文介绍了在xcode 4.0中的包内容(捆绑资源)中存储文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在包内容中存储一个文件夹,而不是项目中的所有文件都存储在一个根文件夹中。

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

如何在XCode 4.0中做到这一点?

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.

推荐答案

在文件系统中创建文件夹,然后将其拖到XCode中的资源文件夹中。在以下对话框中,为任何添加的文件夹选择创建文件夹引用。该文件夹应为蓝色。此文件夹及其内容将复制到您的捆绑软件中。

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.

这篇关于在xcode 4.0中的包内容(捆绑资源)中存储文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆