Renaming projects in Xcode 4

前端 未结 11 1972
猫巷女王i
猫巷女王i 2020-11-27 09:22

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

11条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 09:51

    None of these worked for me. The reason was that in Finder I had already manually changed oldAppName.xcodeproj to

    newAppName.xcodeproj 
    

    with the new name, so when I tried to edit the Project Name in Xcode 4, I got an error that it couldn't save newAppName.xcodeproj since it already existed. The solution was to change, using Finder, newAppName.xcodeproj to

    anyOtherName.xcodeproj, 
    

    and then I was able to edit the project name in Xcode and Xcode renamed the anyOtherName.xcodeproj to newAppName.xcodeproj.

提交回复
热议问题