Select the project, then change the name shown in the Identity and Type section of the File inspector. Depending on the version of Xcode it has been known to miss something, but it’s pretty good. Don’t worry that it leaves the folder names the same.