Modify Xcode project name (perfect version)

  • Some time ago, the project needs, the need to develop a new project on the existing project. If a new project, there will be a lot of trouble:
    1 virtual folder cannot be dragged to a new project, leading to file clutter mixed together according to the module division (if all entities folder can be ignored)
    2.plis files need to slow configuration, easy to miss 3
    third party link library you need a need to add, modify many settings, easy to omit the
    4 resource files need to drag
  • Although the new project after completing the procedure to modify the project name, but a lot of details easily lead to omissions, behind the development process of Bug is very cumbersome, so their own online reference information, modify the name directly in the existing project above, the steps are as follows:

1 modify project name

Open the project to enter the name of the project directly modify

Modify Xcode project name (perfect version)
6172EFE5-31F5-49D2-A2B6-8404529CD93A.png

At this time will pop up a dialog box, click Rename

Modify Xcode project name (perfect version)
A4E812F5-30BC-4DB4-942A-4F4F9C2D84F1.png

2 modify the scheme name

Click on the toolbar above Product-&gt Xcode; Sechme-> Edit Sechme

Modify Xcode project name (perfect version)
: Users:dyw:Desktop:1760826-a0ed03ef99d76ee3.png

Directly modify the pop-up dialog box. Click on the meeting after the completion of Close

Modify Xcode project name (perfect version)
D0C21C53-5820-45FD-B141-A1F4393DFAB6.png

3 modify directory name

Click on the project need to modify the name of the directory directly modify the carriage

Modify Xcode project name (perfect version)
D8209D28-7C9F-400B-9C4B-F9054AA877E5.png

Click Find to find the replacement

Modify Xcode project name (perfect version)
9C7E6654-55DA-4989-81B8-D67E801517F3.png

Click all replace

Modify Xcode project name (perfect version)
E5B8CB95-2B87-4EC5-AAFE-C1B2F73501AB.png

Part of the manual point can not be replaced

Modify Xcode project name (perfect version)
EF0457A1-0A4F-465D-8459-5E4FDD1D581A.png

4 modify entity folder name

In the folder will enter the corresponding folder directly modify the

Modify Xcode project name (perfect version)
2636C476-3DE1-47EF-B8EF-4D3700660B02.png

5 modify the.Xcodeproj button to display the contents of the package

Your project.Xcodeproj right click to display the contents of the package

Modify Xcode project name (perfect version)
47A8D57A-5F98-47C7-9560-4354D2CFF2FA.png

Double click to open the.Pbxproj file

Modify Xcode project name (perfect version)
38D40566-E9C0-48B5-A100-C000844DD57A.png

Find replace all

Modify Xcode project name (perfect version)
: Users:dyw:Desktop:1760826-6421daa496513117.png

6 if there is pod (no pod ignored)

Delete the original pod corresponding to the three items

Modify Xcode project name (perfect version)
781641FF-BA57-4868-B943-4972E48F4EA6.png

Re pod install (be careful not to use pod install –verbose –no-repo-update)

End