Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

scott455

macrumors member
Original poster
Jun 5, 2022
40
0
Hi,
in xcode 13.1, for a project, how to change project Name and Target Name easily and safely?
 

szymczyk

macrumors regular
Mar 5, 2006
187
17
First, back up before renaming in case something goes wrong.

Usually when someone wants to rename the project, what they really want to do is rename the app. You can do that by renaming the target. Renaming the target is safer than renaming the project.

  1. Select the project name from the project navigator to open the project editor.
  2. Select the target from the target list on the left side of the project.
  3. Press the Return key.
  4. Enter the new target name.
If you really need to rename the project, select the project name from the project navigator and press the Return key. The following article has more detailed instructions:

Renaming Xcode Projects
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.