How to use 3rd party plugins with XCode 8

Since Apple decided not to load 3rd party plugins, we have to re-codesign XCode. This allows us to load 3rd party plugins. Here's the steps to do.

  1. Close Xcode
  2. Prepare code sign certificate
    If you already have a certificate from Apple's developer program you can use it (so skip to next section now). If you don't have one or don't want to use the existing certificate create new one as follows.

    1.1 Open "Keychain Access" (in Applications -> Utilities) and select "login" in the left pane.
    1.2 Select Create a Certificate ( in KeyChain Access -> Certificate Assistant )
    1.3 Input your name (whatever you like) and select "Code Signing" for Certificate Type.
    Not required but the name is used later in a command line so it could be better to use easily distinguishable name here (I use *XcodeSigner* here).

    Now you have a certificate to code sign.

  3. Resigning XCode
    Then in a terminal,

$ sudo codesign -f -s XcodeSigner /Applications/    (Replace the Xcode path if it is different.)

This should take a while.

From now on, you're good to go.