Plugin base for Xcode 5
Switch branches/tags
Nothing to show
Pull request Compare This branch is 76 commits behind kattrali:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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-in subdirectories 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 AppKit and 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!


  • Set XCPluginHasUI in Info.plist to YES to disable your plugin

  • Unlike Xcode 4, Xcode 5 uses ARC.

  • Add the build UUIDs for the versions of Xcode you wish to support to DVTPlugInCompatibilityUUIDs in Info.plist. This can be found by running:

    defaults read /Applications/ DVTPlugInCompatibilityUUID

Plugin Debugging

  • I would recommend keeping a console open with tail -f /var/log/system.log running, for that special moment when you crash Xcode, or want to see the output of your NSLog() statements.