From 3d6b62b5b20aad03b6795938e94d04ba91f380b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=B4=E5=AF=92?= Date: Sun, 3 Aug 2014 04:11:27 +0800 Subject: [PATCH] pure python now! --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 918f150..f49f26e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ xUnique ======= -**xUnique**, is a Python script to regenerate `project.pbxproj`, a.k.a the Xcode project file, and make it unique and same on any machine. +**xUnique**, is a pure Python script to regenerate `project.pbxproj`, a.k.a the Xcode project file, and make it unique and same on any machine. As you may know, the [`UUID`](http://www.ietf.org/rfc/rfc4122.txt) generated by Xcode in the file is not unique for the same added file( or other entries like groups,build phases,etc.) on different machines, which makes it a developer's nightmare to merge and resolve conflicts in `project.pbxproj`. @@ -15,9 +15,10 @@ As you may know, the [`UUID`](http://www.ietf.org/rfc/rfc4122.txt) generated by * We give a path attribute to every node of the tree using its unique attribute; this path is the absolute path to the root node, * Apply MD5 hex digest to the path for the node 3. Replace all old UUIDs with the MD5 hex digest and also remove unused UUIDs if any -4. Sort project file using my modified [`sort-Xcode-project-file`](https://github.com/truebit/webkit/commits/master/Tools/Scripts/sort-Xcode-project-file), supports following new features: - * sort `PBXFileReference` and `PBXBuildFile` sections - * avoid modified changes in Git/SVN if no change made in the project file +4. ~~Sort project file using my modified [`sort-Xcode-project-file`](https://github.com/truebit/webkit/commits/master/Tools/Scripts/sort-Xcode-project-file), supports following new features:~~ + * ~~sort `PBXFileReference` and `PBXBuildFile` sections~~ + * ~~avoid modified changes in Git/SVN if no change made in the project file~~ +4. Sort the project file inlcuding `children` list, `files` list, `PBXFileReference` list and `PBXBuildFile`list 5. All above operations are what this script done for you;)