Xcode 8 是否支持插件(-> Alcatraz) [英] Will Xcode 8 support plugins (-> Alcatraz)

查看:33
本文介绍了Xcode 8 是否支持插件(-> Alcatraz)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple 在 Xcode 8 中引入了 Xcode 源代码编辑器扩展.Xcode 8 是否仍支持通过 Alcatraz 提供的插件?

Apple introduced Xcode source editor extensions with Xcode 8. Will Xcode 8 still support plugins served via Alcatraz?

推荐答案

Xcode 8 出于安全原因禁止代码注入(插件用于加载的方式).您可以通过删除 Xcode 上的代码签名来规避此问题.这两种工具都能够简化:

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

要在不删除代码签名的情况下在 Xcode 8+ 上工作,必须将插件重写为 Xcode Source Editor Extensions.遗憾的是,这些扩展的 API 目前仅允许文本替换,因此它们还不足以替代.

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.

这篇关于Xcode 8 是否支持插件(-> Alcatraz)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆