Apple introduced Xcode source editor extensions with Xcode 8. Will Xcode 8 still support plugins served via Alcatraz?
相关问题
- Xcode successfully builds but fails to run macOS a
- Code completion drop down suggestions not working
- Xcode/Stackview, empty labels freaks out in stack
- How to share Xcode performance test baselines on g
- Is there a way to get iOS 7 simulator on Xcode 8 b
相关文章
- xcode 8 Debugger 'Could not resolve type'
- Unable to tap (x,y) coordinate in landscape mode
- In iOS10, is it possible to access Keychain from w
- Getting Firebase MobileAssetError warning in XCode
- Module compiled with swift 4.0 cannot be imported
- Why the Xcode 8 (iOS 10) print [LogMessageLogging]
- xcode add embedded binary with buildscript
- iOS simulators not working behind proxy since upgr
Xcode 8 prohibits code injection (the way plugins used to load) for security reasons. You can circumvent this by removing the code signing on Xcode. Both of these tools are capable of simplifying that:
https://github.com/inket/update_xcode_plugins
https://github.com/fpg1503/MakeXcodeGr8Again
To work on Xcode 8+ without removing the code signing, plugins will have to be rewritten as Xcode Source Editor Extensions. Unfortunately, the APIs for these extensions only allow for text replacement at the moment, so they are not an adequate replacement.
There is no support and we can't expect any. Apple decides to shut down the ecosystem around the Alcatraz package manager before they have an api ready (extensions) that is able to do what the plugins were doing before. The extensions are currently limited to the text frame which does not allow to do much.
The main reason announced by apple is security and we can now disable code signing with effort to get back the most important features that were missing in Xcode. Bad day for the community, bad decision from apple.
I also recommend the discussion on Alcatraz here: https://github.com/alcatraz/Alcatraz/issues/475 Most importantly if you want to support Alcatraz file a bug at http://bugreport.apple.com to make them aware that many people are suffering with this change
I did the same (openradar.appspot.com/28423208):
Seems like this should work. Found some answers here: https://github.com/alcatraz/Alcatraz/issues/475 The key seems to be to removing code signing in order to get existing plugins to work.
I've filed a report on rdar, do not hesitate to express your mind as well:
You can certainly load all your plugins by recode signing Xcode 8.0. All credits to the XVim team. They seemed to solve this problem. https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md The Most Important Step From The Solution
Apparently not :'(
https://github.com/alcatraz/Alcatraz/issues/475
We have to wait until someone convert the plugins into the new Xcode Extensions