Reputation:
How can I change a name of my project in the Xcode?
Upvotes: 31
Views: 31738
Reputation: 58077
According to the Xcode documentation says that you can select your project in the lefthand panel and then open the properties inspector. By editing the project name, you'll be prompted to renamed targets etc.
I'm not sure exactly what you are asking, so I've given two parts to my answer.
To change the display name of your project, (under the icon on the home screen) you should edit your Info.plist file in the Resources
group of your project. Change the Bundle Display Name
key. Make sure that you save the plist file and that you've deleted the old app from the simulator. Then, clean your build and then you can build it again to the simulator.
To change the name of your project, target and executable, click on Project
-> Rename...
in Xcode.
Upvotes: 51
Reputation: 36447
It's simple. Just press enter on name of project. Rename your project as desired. This will prompt changes to be done in entire Project. Click on Rename.
Upvotes: 18
Reputation: 725
If you want to change Project Name, Target name, -Info.plist name & -Prefix.pch name then,
- Select Project in Xcode (.xcodeproj file)
- Selecte file inspector
- In identity section change project name which u want to update & press enter
- After scanning whole project it will ask to change the file names i.e target, plist & pch file
- Select check boxes as per your need
Upvotes: 2
Reputation: 437
if only change display name under app icon in device main screen you just need change "Bundle display name" key of target at tab info.
Upvotes: 0
Reputation: 70673
Ap iOS app under construction has at least 6 "names". They can all be different and can be set in different places.
Depending on what you change, you may need to delete the app from your device/simulator, and reinstall/build-and-run, to quickly see the changes.
Upvotes: 15
Reputation: 4385
@Mosche This question should be updated for XCode 4.
Seems one has to use sed in .xcodeproj directory:
find . -type f -exec sed -i -e 's/OldProjectName/NewProjectName/g' {} \;
Upvotes: -3
Reputation: 4746
1) Expand the "Resources" folder
2) Click on the "yourappname-info.plist"
3) Expand the "Information Property List"
4) You can change the "Bundle Display Name" to anything you want to display on the iPhone Home Screen.
Upvotes: 0
Reputation:
Ah, I figured it out already. You need to change the active target.
Upvotes: 4