Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
script/sort-xcodeproj for handy Xcode project organization
# Usage: script/sort-xcodeproj to sort all root-level Xcode projects.
# This helps keep the Xcode project layout neat and consistent while
# aiding in the prevention of [merge conflicts][mc].
# [mc]:
SCRIPT_DIR=$(dirname "$0")
cd "$SCRIPT_DIR/.."
perl Vendor/sort-Xcode-project-file *.xcodeproj/project.pbxproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.