Xcode5 Plugin Template
Basic template for creating a plugin for Xcode 5.
- Clone or copy this project to
~/Library/Developer/Xcode/Templates/Project Templates/Application Plug-in/Xcode5 Plugin.xctemplate. (Create the
Templates/Project Templates/Application Plug-insubdirectories if they do not already exist.)
- Restart Xcode
- When creating a new Xcode plugin, create a new project and select Xcode5 Plugin from
OS X > Application Plug-in.
The default plugin file links against
Foundation, and, when built (and Xcode is restarted), creates a menu item labeled "Do Action" in the File menu. Pressing the menu item should open an alert. Customize at will!
YESto disable your plugin
Unlike Xcode 4, Xcode 5 uses ARC.
Add the build UUIDs for the versions of Xcode you wish to support to
Info.plist. This can be found by running:
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
- I would recommend keeping a console open with
tail -f /var/log/system.logrunning, for that special moment when you crash Xcode, or want to see the output of your