Skip to content

Instantly share code, notes, and snippets.

@cameroncooke
Last active October 20, 2016 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cameroncooke/2ef903f028c8e60ce5b0141758338198 to your computer and use it in GitHub Desktop.
Save cameroncooke/2ef903f028c8e60ce5b0141758338198 to your computer and use it in GitHub Desktop.
Unsign Xcode 8+ so that 3rd party plug-ins can be used again
# Install unsign
wget https://github.com/steakknife/unsign/archive/master.zip ~/Downloads
cd ~/Downloads
unzip unsign-master.zip
cd unsign-master
make
cp ./unsign /usr/local/bin
# Copy Xcode
cp -R /Applications/Xcode.app /Applications/XcodeUnsigned.app
# Unsign copy of Xcode
unsign /Applications/XcodeUnsigned.app/Contents/MacOS/Xcode /Applications/XcodeUnsigned.app/Contents/MacOS/Xcode
# install 3rd party plug-ins again i.e. http://alcatraz.io/
@cameroncooke
Copy link
Author

cameroncooke commented Oct 20, 2016

Warning

The script and the commands provided herein is used at your own risk. Un-signing Xcode is dangerous and could leave Xcode vulnerable, only use this script if you understand the risks. The author of this script is waiving all liability.

Please also note this script has been untested and just put here as a pointer on how to un-sign Xcode 8+ to allow 3rd party plug-ins like Alcatraz.io.

@cameroncooke
Copy link
Author

Might be better to just type the commands above instead of running the script as I've not actually tried the script yet, just executed similar commands manually and then wrote the script after.

Note, it does not modify the original Xcode.app bundle and instead copies it so the original will still receive updates etc. You can switch between signed and unsigned Xcodes at your will.

Hopefully this script will be unneeded once Apple add deeper extension support to Xcode in the future. For now only Source Editor Extensions are officially supported by signed Xcode builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment