Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



NOTE: As of Xcode 10.2, this plugin is no longer necessary and can be deleted. Code will be left up here for future reference though :)

A Plugin to force Xcode to use Dark Mode.

DarkCode Screenshot


This plugin forces Xcode to use macOS Mojave's Dark Mode (regardless of what the system appearance is). I personally like just using Xcode and media apps with a dark appearance with everything else (Finder, Messages, Safari, etc.) with a light appearance.

I found a slightly simpler hack earlier ( however at the time of posting that would cause the menubar to be black but all the icons in it to be also black, which was kinda lame. This hack is also pretty much thrown together and hasn't been well tested, so ymmv. Use it at your own risk!

This may probably break in the future, so this plugin is targeting Mojave beta 5+ (as well as Xcode 10 beta 5+).

How do I DarkCode?

Xcode Plugin

If you disable SIP (I think this is needed) and AppleMobileFileIntegrity you can load it as an xcplugin by building the DarkDock-xcplugin target (with codesigning enabled) and placing the plugin in:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/


Mojave + SIMBL support isn't really a thing right now, I think it's being worked on. I just used mach_inject to inject it. MacPlus also seems to be a successor that's actively being worked on (and that also uses mach_inject).

If you can get SIMBL running, just copy the built bundle to:

/Library/Application Support/SIMBL/Plugins

Note: You'll also need to disable SIP and AppleMobileFileIntegrity for this to work (since Xcode uses Library Validation).


Pretty much the BSD license, just don't repackage it and call it your own please!

Also if you do make some changes, feel free to make a pull request and help make things more awesome!

Contact Info?

Feel free to follow me on twitter: @b3ll!


Always makes Xcode use Dark Mode on macOS Mojave



No releases published


No packages published
You can’t perform that action at this time.