如何在 Xcode 中更改活动方案的名称?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16416092/
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
How to change the name of the active scheme in Xcode?
提问by Matthys Du Toit
I managed to change my project name, but how do I change the name displayed directly to the left of "iOS Simulator"?
我设法更改了我的项目名称,但是如何更改直接显示在“iOS Simulator”左侧的名称?
回答by user1118321
This is in the Xcode documentation available from the "Help" menu. Choose "Help" > "Xcode Help", then enter "rename scheme" to find it. Here are the steps:
这在“帮助”菜单中提供的 Xcode 文档中。选择“帮助”>“Xcode 帮助”,然后输入“重命名方案”找到它。以下是步骤:
- Choose "Edit Scheme" from the "Product" menu.
- Click on the "Manage Schemes…" button
- Select the scheme whose name you wish to change
- Press the "Return" key
- 从“产品”菜单中选择“编辑方案”。
- 单击“管理方案...”按钮
- 选择要更改名称的方案
- 按“返回”键
It will select the name of the scheme and allow you to edit it.
它将选择方案的名称并允许您对其进行编辑。
回答by wm.p1us
回答by user6638214
The best way is to duplicate the scheme that works, but with the wrong name, use the new name, then delete the bad one.
最好的方法是复制有效但名称错误的方案,使用新名称,然后删除坏的方案。
Hit the gear-button near the plus-minus buttons new the lower left corner.
点击左下角新加减按钮附近的齿轮按钮。