How to change the name of the active scheme in Xcode?

橙三吉。 提交于 2020-06-09 07:37:47

问题


I managed to change my project name, but how do I change the name displayed directly to the left of "iOS Simulator"?


回答1:


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:

  1. Choose "Edit Scheme" from the "Product" menu.
  2. Click on the "Manage Schemes…" button
  3. Select the scheme whose name you wish to change
  4. Press the "Return" key

It will select the name of the scheme and allow you to edit it.




回答2:


XCODE 9:

Product -> Scheme -> Edit Scheme

Or simply click and hold left mouse button on your project icon (on the right from the run button) and select Edit scheme




回答3:


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.



来源:https://stackoverflow.com/questions/16416092/how-to-change-the-name-of-the-active-scheme-in-xcode

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