Heirloom antiques are worth collecting

The heirloom project might as well be dealt with first

Work can not avoid will encounter, many times on an ancestral project after all kinds of SAO operation out of the package, but no matter how good the treatment, often easy to ignore the —- xcodeProj file, or the ancestral one, do not know how many times the copy…

    

If you every time is a copy of the ancestral engineering processes, change the name, don’t know what you have carefully read the project over the years, don’t be care about really miserable for package.

If every time you create a new project, you drag the processed code to the new project, and the package is released after various configurations, then I envy you that you have a pair of industrious hands, but why should such a good pair of hands be used to package… So the following content can be skipped, the last tool, I still recommend you to try, and it is free.

Why do I need to process xcodeProj files

1. Create the simplest project xcodeProj of type.a

2. Right-click xcodeProj. XcodeProj

3. Drag the selected file to sublime(other text editors can also open)

Notice the UDID that I selected

At this point I rename the xcodeProj class

Repeat 2.3

No change!!! You’re smart enough to know why I want to rename the class

Just to tell you

Obfuscating class names for XcodeProj files however does not helpCopy the code

At this time I clever, thought of a move!

Remove and add references to class files!!

Repeat 2.3

16EFCDCC... It's now 16EFCDDACopy the code

It seems that the problem has been solved, my disease is cured! Still a little excited, but! There must be a catch in this

I first iterate through all the UdiDs in xcodeProj. XcodeProj

'16EFCDDA2368A8DE009C24C8', 
'16EFCDC52368A3A8009C24C8', 
'16EFCDC72368A3A8009C24C8', 
'16EFCDD82368A8DE009C24C8', 
'16EFCDD92368A8DE009C24C8', 
'16EFCDC42368A3A8009C24C8',
'16EFCDBE2368A3A8009C24C8', 
'16EFCDC82368A3A8009C24C8', 
'16EFCDD72368A8DE009C24C8', 
'16EFCDC62368A3A8009C24C8', 
'16EFCDBF2368A3A8009C24C8', 
'16EFCDC32368A3A8009C24C8', 
'16EFCDCE2368A3A8009C24C8', 
'16EFCDCF2368A3A8009C24C8', 
'16EFCDD12368A3A8009C24C8', 
'16EFCDD22368A3A8009C24C8', 
'16EFCDC22368A3A8009C24C8', 
'16EFCDD02368A3A8009C24C8'
Copy the code

I remove references again and add references again, iterating through all the UdiDs again

 '16EFCDDE2368AA14009C24C8',
 '16EFCDC52368A3A8009C24C8', 
 '16EFCDC72368A3A8009C24C8', 
 '16EFCDDC2368AA14009C24C8', 
 '16EFCDDD2368AA14009C24C8', 
 '16EFCDC42368A3A8009C24C8', 
 '16EFCDBE2368A3A8009C24C8', 
 '16EFCDC82368A3A8009C24C8', 
 '16EFCDDB2368AA14009C24C8', 
 '16EFCDC62368A3A8009C24C8', 
 '16EFCDBF2368A3A8009C24C8', 
 '16EFCDC32368A3A8009C24C8', 
 '16EFCDCE2368A3A8009C24C8', 
 '16EFCDCF2368A3A8009C24C8', 
 '16EFCDD12368A3A8009C24C8', 
 '16EFCDD22368A3A8009C24C8', 
 '16EFCDC22368A3A8009C24C8', 
 '16EFCDD02368A3A8009C24C8'`
Copy the code

Only the first one changed, the other Udid did not move, at this time the industrious hands a little trembling

The dry goods are here,Solve those problemsFree and not open source

Partial printing:

16EFCDDE2368AA14009C24C8 Changed to AC5EAB68410CF1F49A1B979E 16EFCDC52368A3A8009C24C8 changed to AC5EAB68410CF1F49A1B979E 9205D119B5EB04E8225C6548 16EFCDC72368A3A8009C24C8 Changed to E548FDCC4DAF1A0F189E0A90 16EFCDDC2368AA14009C24C8 Changed to E548FDCC4DAF1A0F189E0A90 50F505F50FDD68FD53EC91F8 16EFCDDD2368AA14009C24C8 Changed to 112143D02DB9297AF813171C 16EFCDC42368A3A8009C24C8 changed to: 73EF2C5A2988D6516D58919E 16EFCDBE2368A3A8009C24C8 Changed to AD0BDEF477EDE704FE25F9B3 16EFCDC82368A3A8009C24C8 Changed to AD0BDEF477EDE704FE25F9B3 F3F497FA083F32BAA11CDF3B 16EFCDDB2368AA14009C24C8 Changed to 04489B4A11409B9F0C82494C 16EFCDC62368A3A8009C24C8 Changed to: 6AAB9306739330CBF83408DB 16EFCDBF2368A3A8009C24C8 Changed to F9D8758B1B17123304758055 16EFCDC32368A3A8009C24C8 changed to: F9D8758B1B17123304758055 16EFCDC32368A3A8009C24C8 26B866C366AF6AF34CD63476 16EFCDCE2368A3A8009C24C8 Changed to 1555D566633EBF54C1A5D42F 16EFCDCF2368A3A8009C24C8 Changed to 1555D566633EBF54C1A5D42F 57932CF080BD7DA2D034E2E7 16EFCDD12368A3A8009C24C8 Changed to 5B8854C20AB872F0F0945EFF 16EFCDD22368A3A8009C24C8 Changed to: DB8F05984034088F0422F9FD 16EFCDC22368A3A8009C24C8 changed to 72DF079E81B7050B5A39F725 16EFCDD02368A3A8009C24C8 changed to: 11330B8AFE5136C9FACC1293 Comparison before and after modification: All Udid are modified successfullyCopy the code

Download address:

https://github.com/iOSCoderMaster/PythonToolBox/tree/master/XcodeprojModify
Copy the code