将文件添加到Xcode 4中的单独目标 [英] Adding files to separate targets in Xcode 4

查看:91
本文介绍了将文件添加到Xcode 4中的单独目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自升级到xcode 4以来,我无法找到指定资源所属目标的位置。以前,我选择了文件并点击命令+ i,但现在这似乎运行程序,而不是打开该文件的信息框。

Since upgrading to xcode 4, I can't find where to specify what Target a resource belongs to. Previously, I selected the file and hit command+i, but this now seems to run the program, rather than bring up the info box for that file.

推荐答案

在文档资源管理器中选择项目文件。在Xcode窗口的右边缘,确保显示正确的抽屉视图(如果它还没有)(它通常有对象库和快速帮助)。在上边距中,单击看起来像文档的图标(而不是具有快速帮助的波形的图标)。目标成员资格和旧的Get Info命令中的其他信息就在那里。

Select the project file in the document explorer. On the Right margin of the Xcode window make sure to display the right drawer view if it isn't already there (it usually has Object library and Quick Help). In the top margin, click on the icon that looks like a document (rather than the one with the waves that is quick help). The target membership and the other info from the old Get Info command is there.

这篇关于将文件添加到Xcode 4中的单独目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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