Skip to content

Commit

Permalink
pure python now!
Browse files Browse the repository at this point in the history
  • Loading branch information
临寒 committed Aug 2, 2014
1 parent eb2b7b9 commit 3d6b62b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand All @@ -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;)


Expand Down

0 comments on commit 3d6b62b

Please sign in to comment.