Created
January 18, 2020 01:04
-
-
Save kichiemon/a16a310f8a8e2c30f5523fdb90ad7ad9 to your computer and use it in GitHub Desktop.
Check Xcode UUID. e.g. `./echo_xcode_uuid.sh Xcode.app`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# = 1 ]; then | |
echo $(/usr/libexec/PlistBuddy -c 'Print DVTPlugInCompatibilityUUID' "/Applications/$1/Contents/Info.plist") | |
else | |
echo $(/usr/libexec/PlistBuddy -c 'Print DVTPlugInCompatibilityUUID' "/Applications/Xcode.app/Contents/Info.plist") | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment