苹果出了
Xcode8
之后,就加了签名让之前的自定义插件无法继续的安装使用。苹果爸爸这一措施让我们措手不及。
第一步复制一份你从AppStore
下载最新Xcode8
。正版授权的我们命名为Xcode_Release
用于我们发版本使用。复制出来的一份我们改成Xcode
.
这是一个小技巧,因为我之前复制出来的命名叫做
Xcode8
,结果只要运行模拟器就会提示连接不上网络,模拟器无法启动。我就按照网络说的重启Xcode
,还是出现。我发现运行正版的是可以的,我就互换了一下
Xcode
的名字,结果真的解决了。
重新签名Xcode8
1.打开电脑里面钥匙串

2.选择创建一个证书(在钥匙串访问 - >证书助理)

3.输入你的名字(你喜欢的名字),然后选择“代码签名”的证书类型。不是必需的,但该名称在命令行以后使用,因此可以更好地用在这里很容易区分的名称(我在这里使用XcodeSigner)

4. 重新签名的Xcode
$ sudo codesign -f -s XcodeSigner /Applications/Xcode.app (Replace the Xcode path if it is different.)
我们重新启动Xcode,选择Load Bundle就可以了,但是很多插件已经失效了,我们可以运行下面的命令解决。
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
一些插件不兼容Xcode8甚至会导致Xcode崩溃,我们只能让引起崩溃的插件删除。
下面是Xcode还能使用不错的插件。
1. AMMethod2Implement
2. AutoCompletion

3. Auto-Importer-for-Xcode

4. AutoHighlightSymbol

5. CocoaControlsPlugin

6. cocoapods-xcode-plugin

7. extract-localizable-string-plugin-xcode


8. FastCoding-Xcode-Plugin

9. FastStub-Xcode
10. findit-for-xcode

11. FKRealGroup

12. HCTemplet

13. HOStringSense-for-Xcode


14. JSPatchX
15. MLAutoReplace




16. Xcode-Quick-Localization

17. RTTinyPNGWebAPIPlugin





18. StringManage


18. StringsValidator
