Xcode 4 中的“编辑活动目标”在哪里
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6048534/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is "Edit Active Target" in Xcode 4
提问by siMonAkro
I was following setup instructionsto add ASIHTTPRequest to my project and it asks me to "Edit Active Target". Now that I'm using Xcode 4, I don't see that menu item anywhere. Where can I edit my active target?
我按照设置说明将 ASIHTTPRequest 添加到我的项目,它要求我“编辑活动目标”。现在我使用的是 Xcode 4,我在任何地方都看不到那个菜单项。我在哪里可以编辑我的活动目标?
回答by Val
There's no set active target in XCode 4.
XCode 4 中没有设置的活动目标。
Instead you can select it at left top of the screen at the right of "stop" button. You can select any target(with devices) you set in the drop down list.
相反,您可以在“停止”按钮右侧的屏幕左上角选择它。您可以选择您在下拉列表中设置的任何目标(带设备)。
回答by Rhythmic Fistman
XCode has changed a bit - the step you mention requires you to link your app against some frameworks. To do that in XCode 4,
XCode 发生了一些变化 - 您提到的步骤要求您将应用程序链接到某些框架。要在 XCode 4 中做到这一点,
Project (Apple-1) > Target > Build Phases > Link Binary With Libraries
项目 (Apple-1) > 目标 > 构建阶段 > 将二进制文件与库链接
That last pane has a + button that will bring up a dialog box almost identical to the one in your link.
最后一个窗格有一个 + 按钮,它会弹出一个与链接中的对话框几乎相同的对话框。
回答by William Denniss
If anyone else (like me) was looking where the old 'Edit Active Target' menu went, or where the 'Project' option is that Rythmic Fistman mentions in his answer, here's how to find it:
如果其他人(像我一样)正在查看旧的“编辑活动目标”菜单的位置,或者 Rythmic Fistman 在他的回答中提到的“项目”选项,以下是找到它的方法:
In the toolbar: View -> Navigators -> Project
在工具栏中:查看 -> 导航器 -> 项目
Then double-click on your project.
然后双击您的项目。
You then get a window where you can change all the settings, just like with 'Edit Active Target' in XCode3.
然后您会看到一个窗口,您可以在其中更改所有设置,就像在 XCode3 中使用“编辑活动目标”一样。