Giter Site home page Giter Site logo

makexcodepluginswork's Introduction

What is this?

This is a bash script that can unsign the Xcode binary and update the Xcode compatibility UUID in plugins.

Xcode disabled plugins in Xcode 8 in favour of its extensions API. Unfortunately this is very limited at this point. Unsigning Xcode allows plugins to run again.

Also, each version of Xcode has it's own UUID which needs to be listed inside the plugin to ensure compatibility. It seems lots of plugins work just fine with Xcode 8, but authors are unlikely to update them with the new UUID as Xcode stops them loading. This script can also add in that UUID.

Use at your own risk. Although a copy of the binary is left inside your Xcode.app at Xcode.app/Contents/MacOS/Xcode.signed, you are using this at your own risk. I've tested it, it works for me. Your results may vary.

Uses the unsign project at https://github.com/steakknife/unsign

This doesn't fix the problem long term! If you like plugins, Be sure to file a radar at https://bugreport.apple.com/ detailing which ones, and hopefully Apple will add the necessary APIs to its extension capability in future.

Usage

$ curl -O https://raw.githubusercontent.com/nrbrook/MakeXcodePluginsWork/master/makeXcodePluginsWork
$ chmod +x makeXcodePluginsWork
$ ./makeXcodePluginsWork

makexcodepluginswork's People

Contributors

nrbrook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

makexcodepluginswork's Issues

syntax error near unexpected token `<'

Environment:

macOS Sierra 10.12.1
Xcode 8.1
Plugin path: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
Plugin list:

Alcatraz.xcplugin                 BBUDebuggerTuckAway.xcplugin      FuzzyAutocomplete.xcplugin        JKBlockCommenter.xcplugin         SCXcodeSwitchExpander.xcplugin
Auto-Importer.xcplugin            ClangFormat.xcplugin              GitDiff.xcplugin                  KZLinkedConsole.xcplugin          VVDocumenter-Xcode.xcplugin
AutoHighlightSymbol.xcplugin      DerivedData Exterminator.xcplugin HOStringSense.xcplugin            SCXcodeMinimap.xcplugin           XToDo.xcplugin

Input & Output

$ sudo sh makeXcodePluginsWork

makeXcodePluginsWork: line 99: syntax error near unexpected token `<'
makeXcodePluginsWork: line 99: `					done < <(find "$1" -name "*.xcplugin" -maxdepth 1 -print0)'

Please let me know if I missed something. Thanks in advance.

It only finds one plugin

I have lots of plugins installed, and this script can find them all before I update to latest commit.
Now it can only find one plugin.

1) /Users/Nelson/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
2) Back
3) Quit

Thank you!

Thank you Nick, this is awesome work!

-Tarek

[Feature Request] Update all plugins

Current

It lists all plugins and asks user to choose which plugin to upgrade.

Request

Besides listing plugins, it also provides an option so that user can upgrade all listed plugins.

Xcode 9 support

I'm trying to use the Xcode 9 beta 3 and it doesn't seem to work. I run the script like I usually do for Xcode 8 but the plugins are not loaded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.