I'm currently working on an iphone application. I started working on this from a project template that I found on the internet. Now I want to rename this project. I've successfully renamed the actual project file, folder and the executables and some other stuff, but there is one weird problem. If I try running the application on my iphone device, Xcode refuses to run the executable with the new name - it's trying to run the old one with the old name instead, and thus it happens that it says: "No launchable executable present at path." Which is true, since the path is wrong (wrong name). The weird thing is that it works on the iphone simulator - it's using the correct executable path.
Any help would be appreciated.
Rename project in XCode 4
https://devforums.apple.com/message/378575#378575
Open the Project Navigator Click on the project name at the top of the tree, tap again and rename box should appear Review changes - note it will try and change all text everywhere so unselect them as needed.
None of these suggestions made my project work after I renamed it using Muzammil's suggestion (the so-called correct way of doing it). It's a shame that Apple cannot rename a project that their own tools created. Why not remove all ways of renaming of a project if not even Apple can do it?... shame on Apple!
I renamed my project which had versioned xcdatamodels and trashed a lot of work... I'm still trying to make it build!
In 3.2.1 on Snow Leopard, there is a "Project->Rename..." menu item that works like a charm. I think it was introduced in 3.2. Shame that it's Snow Leopard only.
Here is your Project name in XCode4. Simply change the name and press Enter. It works exactly like old XCode version (Project->Rename)...
!! Enjoy !! :)
Not to be negative but the one thing about XCode that sucks is all the bugs. I'm hoping XCode 4. Is a total rewrite and thus more stable. At best some of the XCode releases have amounted to betas.
In any event you have good responses to your question. Venting.
Dave
I just want to add to the above answers that Apple have made this relatively easy in XCode 3.2 - just rename the whole project in Project->Rename and also change the product name in the project settings...
...but after doing that, I still got the 'No launchable executable...' message.
The key is to restart XCode after this point (it seems actually necessary to do this), and everything should be okay.
Just hoping this saves someone a few minutes of confusion!