I must be missing something obvious, but I can\'t figure out how to rename my project in Xcode 4.
If I remember correctly Xcode 3 had a dedicated menu item for this
In addtion to the other answers provided if you would also like to rename the folder in which your files are placed by default (that exists at the same level as your *.xcodeproj file) then perform the below steps:
- In Finder copy and paste the '/' folder
(in the same location) and
rename the copied folder to '/'
- In XCode in the 'Project Navigator' (first tab in the pane on the left)
foreach ('Group' you have in your project)
{
Select the 'Group' and observe the details in the 'File Inspector'
(first tab in the pane on the right)
if ('Path' == 'Relative to Group'
AND 'Full Path' == '/')
{
Click the icon to change the path of the 'Group'
Choose the '/ folder
}
}
- Delete the '/' folder
- Open the Project Settings, choose the Project target and under 'Build Settings'
- find change the path appropriately for the following values:
'Prefix Header' and 'Info.plist file'
And you're done.
If you also have a Tests folder then you will want to repeat the same.