Xcode + Plugins = 💙
A Mac App to reenable plugins on Xcode.
Use at your own risk. (More information on the risks below)
To unsign your Xcode.app
, just drag it into the MakeXcodeGr8Again
gui window.
Currently there are two modes of usage: regular and YOLO.
Simply drag your Xcode 8 App into the window. A new Xcode app will be created allowing the use of plugins.
Toggle the YOLO mode and drag the Xcode 8 App. That simple. This mode is called YOLO because it overwrites your binary with the unsigned version, if by some reason the process fails and you don't have a backup you may have to re-download (and re-extract) Xcode.
- Run this Terminal command:
To self-sign Xcode 8 via Terminal, run this command:
curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | sh
For Xcode Beta, run this terminal command:
curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | sh -s beta
To clone your Xcode.app
and preserve the original app signature, run this command:
curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | sh -s copy
Alan Hamlett was kind enough to generate a binary.
Michal Zelinka was able to solve this problem running MakeXcodeGr8Again as a privileged user.
To answer this question let's provide you with some background so you can decide for yourself.
Apple has allegedly disabled the use of plugins to avoid another incident like the Xcode Ghost 👻. In 2016's dub dub Apple announced their new Source Editor extensions.
Yes, as I mentioned above Apple announced Source Editor extensions. I was one of the first people in line for the Xcode lab to know more about it. Unfortunately these extensions are still pretty limited, run completely isolated from the Xcode process and require user interaction to do anything. They may, however, solve your problem, and if they do just use them.
The plugins I like the most work seamlessly (without any user interaction) like Polychromatic and OptionalOutlets. I've filed a radar asking for semantic highlighting support (rdar://27028207) but it remains Open. I had a discussion about it with some Apple engineers and they told me I should file a radar for the missing functionalities (radar or GTFO).
File radars. Period. This app is a hack and adds the vulnerability that allowed Xcode 👻 to happen again, that said, it means you're exactly as safe as you were before. I wouldn't use a unsigned Xcode to upload a Build. I'd really like to disable app submissions on Xcode Gr8, there's an issue about it, feel free to help.
Known issues and road map are here. Feel free to open feature requests, issues and PRs.
🚀 Let's Make Xcode Great Again™
MIT
- steakknife's unsign
- marcelofabri for reminding me to warn people about the risks involved.