How to rename a project in Xcode?

2020-07-17 15:27发布

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

3条回答
Animai°情兽
2楼-- · 2020-07-17 16:06

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.

查看更多
可以哭但决不认输i
3楼-- · 2020-07-17 16:16

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.

查看更多
三岁会撩人
4楼-- · 2020-07-17 16:21

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.

查看更多
登录 后发表回答