Xcode 4插件开发 [英] Xcode 4 plugin development
问题描述
我一直在到处找,但是什么也找不到.有谁知道如何创建Xcode 4插件?
I've been looking all over the place but I can't find anything. Does anyone know how to create an Xcode 4 plugin?
推荐答案
据我了解,没有正式的方式来创建Xcode 4插件(就像v3中没有一个那样). x).
As far as I know there is no official way to create Xcode 4 plugins (just like there wasn't one for v3.x).
这是Xcode缺少插件支持的公开理由:
Here is an openradar on Xcode's lack of plugin support:
请支持第三名的能力 各方通过公共扩展Xcode 插件API.光圈,Visual Studio, Eclipse,TextMate等 应用程序将从中受益 能力.我想看更多 高级重构,代码分析 (想想Jetbrains的Resharper)和 造型.
Please support the ability for 3rd parties to extend Xcode via a public plugin API. Aperture, Visual Studio, Eclipse, TextMate and other applications benefit from this ability. I would like to see more advanced refactorings, code analysis (think Resharper by Jetbrains) and modeling.
提供适用于Xcode 4的插件API (rdar://8622025)
Provide plugin API for Xcode 4 (rdar://8622025)
如果要使用插件,请复制此内容!
偶然发现:
塞德里克·路西 : " Xcode 4不支持用户定义 插件,请参见 CLITool-InfoPlist 有关工作的Xcode 4的示例 插入.您只需要添加 XC4Compatible(true)在 Info.plist."
Cédric Luthi: "Xcode 4 does support user-defined plugins, see CLITool-InfoPlist for an example of a working Xcode 4 plugin. You just have to add XC4Compatible (true) in the Info.plist."
https://github.com/0xced/CLITool-InfoPlist
话虽如此,这些GitHub仓库也可能很方便:
That being said these GitHub repos might be handy, too:
-
Xcode4插件API文档(链接无效)
Xcode插件模板(链接已更新 >)
更多 生成器 的Xmod插件可能是一个不错的开始点.
(不过,我上次检查过Xcode-4是否还不兼容)
Further more mogenerator's Xmod plugin might be a good starting point.
(Wasn't Xcode-4 compatible yet, last time I checked, though)
这篇关于Xcode 4插件开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!