Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change workspace name in Xcode?

Tags:

xcode

ios

Is there any appropriate way to change workspace name in Xcode?

Seems to me that it works to quit Xcode and manually change the .xcworkspace file from OLD_NAME.xcworkspace to NEW_NAME.xcworkspace.

Xcode 5 was used at the time of writing.

like image 310
George Avatar asked Nov 13 '13 08:11

George


People also ask

How do I change my workspace name in IOS?

To rename a workspaceOpen the main menu using the menu button in the top left of the app. Open the workspace menu by clicking on the three dots ⋮ next to the workspace you'd like to rename. Select Workspace settings from the menu. Type a new workspace name in the field Name.

How do I change the main CPP name in Xcode?

Assuming you created an Xcode project, select the main. cpp file from the left side of the project window. Press the Return key to change the name of the file.


1 Answers

2019:

First note that this question is about changing the name of an Xcode workspace. The QA is not about changing the name of a project, a project within a workspace, the source folder, or other aspects of naming in the Xcode milieu.

Xcode 11 and further.

Surprisingly, you can now just change the name of the file ! As strange as that seems.

  1. Quit Xcode. You must do this first.

  2. Using your mouse, and keyboard, change the name:

enter image description here

enter image description here

This causes no problem with Swift Package Manager or any other issue.

You now simply open the .xcworkspace file as normal.

One part of a fifteen year old Apple problem resolved!

like image 104
Fattie Avatar answered Sep 16 '22 11:09

Fattie