How to rename a project in XCode?

随声附和 提交于 2019-12-06 05:29:05

问题


There are some pretty horrible instructions out there for renaming projects in XCode. Is there no easy way to do this?


回答1:


In Xcode 4 try this:

⌘+1, click the blue node with the project name, wait a second, click again (the name becomes editable). That's it.




回答2:


In the menu bar choose Project -> Rename...

It'll do all the hard work for you and rename everything that needs renaming apart from the folder that the project is in.




回答3:


In XCode 4, select the project name at the top of the documents list on the left and hit enter, rename it, and then XCode will show you a list of files that will be altered, as well as allowing you to take a snapshot.



来源:https://stackoverflow.com/questions/3348143/how-to-rename-a-project-in-xcode

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