Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting does not seem to be determinate #48

Open
mmrussell opened this issue Jun 25, 2018 · 4 comments
Open

Sorting does not seem to be determinate #48

mmrussell opened this issue Jun 25, 2018 · 4 comments

Comments

@mmrussell
Copy link

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.

@mmrussell
Copy link
Author

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.

@truebit
Copy link
Owner

truebit commented Aug 1, 2018

Could you send me the .xcodeproj file if it's OK? you could find my email in this project.

@potmo
Copy link

potmo commented Nov 18, 2022

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

@manojmahapatra
Copy link

ditto, I have seen PBXShellScriptBuildPhase just moved around randomly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants