xUnique
xUnique copied to clipboard
Sorting does not seem to be determinate
Running the xunique command on a pbxproj for the first time resulted in a file that wasn't completely sorted. Running the xunique command again did not fix the sorting. However, after changing the order of any group in Xcode (by dragging a dropping) and running xunique again, the order of an unrelated build step was fixed. On another project, it took three times (modifying the project each time) to get the Xcode project appropriately sorted.
I looked into this further. The problem seems to be that not all objects are sorted by the script even though all object UUIDs are changed. Certain unrelated changes to the project in Xcode causes Xcode to sort objects with the new GUID that didn't get sorted by xunique.
Could you send me the .xcodeproj file if it's OK? you could find my email in this project.
I have a similar (or same) issue that elements PBXShellScriptBuildPhase
are constantly moved around. Im not sure if xcode does it or xUnique does it but I get diffs on pbxproj all the time even though I havent touched anything in it
ditto, I have seen PBXShellScriptBuildPhase
just moved around randomly.