Skip to content

DynamicDust/xcode-plugin-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Xcode Plugin Updater

This script serves as an updater for all your Xcode plugins, when a new version of Xcode (or Xcode-Beta) is released.

Reason

In each new version of Xcode there is a new value generated for the special key in the Info.plist file called DVTPlugInCompatibilityUUID and when a plugin does not contain this special 128-bit number Xcode will not load the plugin. This makes some people angry (especially me) as most of the time, there aren't such big changes in Xcode that would cause the plugins to stop working.

So, what it means is that it can be fixed just by adding the new UUID to the Info.plist file of the plugin. It is possible to do manually, however when you got a lot of (20+) plugins, this becomes annoying instantly. That's why I sacrificed a few hours and created this plugin. :)

Usage

Updating

  1. Open Terminal.app (or similar) on your Mac
  2. Run the following command (sorry for this mess, didn't have time to do it properly) and all your plugins will be updated.
curl -fsSL http://git.io/vvZMn > $TMPDIR/xcode-plugin-updater.sh && cd $TMPDIR && chmod 755 xcode-plugin-updater.sh && ./xcode-plugin-updater.sh && rm -rf xcode-plugin-updater.sh && cd

Printing Xcode's UUID

  1. Open Terminal.app (or similar) on your Mac
  2. Run the following command and the UUID will be copied to your clipboard and also printed to the command line!
curl -fsSL http://git.io/vvZMn > $TMPDIR/xcode-plugin-updater.sh && cd $TMPDIR && chmod 755 xcode-plugin-updater.sh && ./xcode-plugin-updater.sh print && rm -rf xcode-plugin-updater.sh && cd

Roadmap

  • First version
  • Add compatibility for sh and zsh (currently only works with bash)
  • Print Xcode UUID (useful for developers)
  • Suggestions?

Contribution

All improvements are welcome. Please, fork the project and then open a pull request to the develop branch.

Credits

Dominik Hádl / @dominikhadl / DynamicDust s.r.o

Created with ♥ in Prague, Czech Republic.

About

This script serves as an updater for all your Xcode plugins, when a new version of Xcode (or Xcode-Beta) is released.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages