Skip to content

Instantly share code, notes, and snippets.

@kambala-decapitator
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kambala-decapitator/88bf07c2e150be946e65 to your computer and use it in GitHub Desktop.
Save kambala-decapitator/88bf07c2e150be946e65 to your computer and use it in GitHub Desktop.
simple shell script to quickly add new UUID to custom Xcode plugins
#!/bin/bash
cd "${HOME}/Library/Application Support/Developer/Shared/Xcode/Plug-ins"
for plugin in *.xcplugin; do
/usr/libexec/PlistBuddy -c "Add :DVTPlugInCompatibilityUUIDs: string $1" "${plugin}/Contents/Info.plist"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment