2\u3001\u67e5\u770b\u63d2\u4ef6\u5b89\u88c5\u76ee\u5f55 ~\/Library\/Application Support\/Developer\/Shared\/Xcode\/Plug-ins<\/span>\n <\/div>\n <\/span>
\n
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u65b9\u6cd5\u4e8c:<\/span>\n <\/div>\n\n
1\u3001\u524d\u5f80Alcatraz\u7684github\u5730\u5740 https:\/\/github.com\/alcatraz\/Alcatraz,\u4e0b\u8f7d<\/span>\n <\/div>\n\n
2\u3001\u76f4\u63a5\u8fd0\u884c\u5de5\u7a0b<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
3\u3001\u67e5\u770b\u63d2\u4ef6\u5b89\u88c5\u76ee\u5f55 ~\/Library\/Application Support\/Developer\/Shared\/Xcode\/Plug-ins<\/span>\n <\/div>\n <\/span>
\n
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
3)\u3001\u4f7f\u7528<\/span>\n <\/div>\n\n
1\u3001\u9000\u51faXcode\uff0c\u76f4\u63a5\u6309command + Q<\/span>\n <\/div>\n\n
2\u3001\u91cd\u65b0\u6253\u5f00Xcode\uff0c\u4f1a\u51fa\u73b0\u63d0\u793a\u6846,\u70b9\u51fbLoad Bundle<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
3\u3001\u70b9\u51fbwindow -> Package Manager, \u641c\u7d22\u76f8\u5e94\u63d2\u4ef6,\u5b89\u88c5\u540e\u9000\u51faXcode,\u91cd\u542fXcode,\u51fa\u73b0\u64cd\u4f5c2\u4e2d\u7684\u63d0\u793a\u6846,\u70b9\u51fbLoad Bundle\u540e\u5373\u53ef\u4f7f\u7528\u3002<\/span>\n <\/div>\n <\/span>
\n
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
2\u3001Xcode 8+\u7248\u672c\u7684\u5b89\u88c5\u65b9\u6cd5<\/strong><\/span>\n <\/div>\n\n
\u8fd9\u91cc\u6709\u4e2a\u5f88\u5927\u7684\u533a\u522b\uff0c\u6309\u7167\u4ee5\u4e0a\u65b9\u6cd5\u5b89\u88c5\u540e\uff0c\u5728window\u76ee\u5f55\u4e0b\u5e76\u6ca1\u6709Package Manager\u9009\u9879<\/span>\n <\/div>\n <\/span>
\n
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u5206\u6790:\u6ca1\u6709\u5c06\u5f53\u524dXcdoe\u7248\u672c\u7684UUID\u8d4b\u503c\u7ed9\u63d2\u4ef6,\u5bfc\u81f4\u63d2\u4ef6\u65e0\u6cd5\u8bc6\u522b\u5f53\u524dXcode<\/span>\n <\/div>\n\n
\u89e3\u51b3\u65b9\u6cd5:<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u4e5f\u53ef\u4ee5\u7528\u4ee5\u4e0b\u6307\u4ee4\u76f4\u63a5\u64cd\u4f5c<\/span>\n <\/div>\n\n
1\u3001\u83b7\u53d6DVTPlugInCompatibilityUUID<\/span>\n <\/div>\n\n
$ defaults read \/Applications\/Xcode.app\/Contents\/Info DVTPlugInCompatibilityUUID<\/span>\n <\/div>\n <\/span>
\n <\/span>
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
2\u3001\u5c06DVTPlugInCompatibilityUUID\u6dfb\u52a0\u5230\u63d2\u4ef6\u91cc<\/span>\n <\/div>\n\n
$ find ~\/Library\/Application\\ Support\/Developer\/Shared\/Xcode\/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add ************(\u7b2c\u4e00\u6b65\u83b7\u53d6\u7684DVTPlugInCompatibilityUUID)<\/span>\n <\/div>\n <\/span>
\n <\/span>
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u7136\u800c\uff0c\u5e76\u6ca1\u6709\u5565\u5375\u7528--__--||<\/span>\n <\/div>\n <\/span>
\n
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u5206\u6790:\u4f30\u8ba1\u662fXcode 8+\u540e\u5bf9\u63d2\u4ef6\u7ba1\u7406\u505a\u4e86\u4e00\u4e9b\u5904\u7406,\u7ecf\u8fc7\u4e00\u756a\u641c\u7d22,\u7ec8\u4e8e\u627e\u5230\u4e86\u4e00\u4e2a\u6709\u7528\u7684\u4fe1\u606f:Xcode 8\u5f00\u59cb\u5bf9\u4e8eAlcatraz\u4e2d\u5b89\u88c5\u7684\u63d2\u4ef6\u5df2\u7ecf\u4e0d\u652f\u6301,\u4f46\u662f\u82f9\u679c\u63a8\u51fa\u4e86\u81ea\u5df1\u7684\u6269\u5c55,\u4e5f\u5c31\u662fXcode 8 \u4e2d\u63d0\u4f9b\u4e86\u5f00\u53d1\u63d2\u4ef6\u7684\u6269\u5c55<\/span>\n <\/div>\n\n
<\/span>\n <\/div>\n\n
\u56e0\u6b64\u5f97\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c<\/span>\n <\/div>\n\n
1\u3001\u5b89\u88c5<\/span>\n <\/div>\n\n
$ sudo gem <\/span>install<\/span> update_xcode_plugins<\/span><\/span>\n <\/div>\n <\/span>
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
2\u3001\u67e5\u770b<\/span>\n <\/div>\n\n
$ update_xcode_plugins<\/span><\/span>\n <\/div>\n <\/span>
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
3\u3001\u4fee\u590d, \u4f1a\u5bf9Xcode\u6267\u884c\u53bb\u9664\u7b7e\u540d\u9a8c\u8bc1\u7684\u64cd\u4f5c\uff0c\u5bf9\u4e8e\u540e\u671f\u6253\u5305\u4e0a\u4f20AppStore\u53ef\u80fd\u6709\u5f71\u54cd\uff0c\u56e0\u6b64\u53ef\u4ee5\u81ea\u5df1\u5148\u624b\u52a8\u5907\u4efd\u4e00\u4e2aXcode\uff0c\u7528\u5907\u4efd\u7684Xcode\u6765\u8bd5\u9a8c\u3002<\/span>\n <\/div>\n\n
$ update_xcode_plugins \u2014unsign<\/span>\n <\/div>\n\n
($ update_xcode_plugins \u2014restore )<\/span> <\/span>\u91cd\u7f6e\uff0c\u4f1a\u5c06\u4e4b\u524d\u53bb\u9664\u7b7e\u540d\u9a8c\u8bc1\u7684Xcode\u91cd\u65b0\u83b7\u53d6\u7b7e\u540d\u9a8c\u8bc1\u3002<\/span>\n <\/div>\n <\/span>
\n
\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u7136\u540e\u91cd\u65b0\u6253\u5f00\u6267\u884c\u8fc7unsign\u7684\u90a3\u4e2aXcode<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u5b89\u88c5\u5230\u4e00\u534a\uff0c\u62a5\u9519<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u51fa\u73b0\u6b64\u95ee\u9898\u662f\u56e0\u4e3a\u6211\u662f\u7528\u5907\u4efd\u7684Xcode\u6765\u6d4b\u8bd5,\u6267\u884cunsigned\u64cd\u4f5c,\u4f46\u662f\u5728\u8fd9\u4e4b\u524d,\u6ca1\u5c06\u5907\u4efd\u7684Xcode\u7684UUID\u6dfb\u52a0\u5230\u63d2\u4ef6\u91cc\u9762,\u56e0\u6b64\u65e0\u6cd5\u8bc6\u522b,\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u6309\u7167\u4ee5\u4e0a\u64cd\u4f5c,\u5c06\u5907\u4efdXcode\u7684UUID\u6dfb\u52a0\u5230\u63d2\u4ef6\u91cc\u9762\u3002<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
<\/span> <\/p>\n\n
\u7136\u540e\u53c8\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898,\u4f30\u8ba1\u662f\u5728\u524d\u9762\u5df2\u7ecf\u6267\u884c\u8fc7\u5b89\u88c5Alcatraz\u7684\u64cd\u4f5c,\u672c\u5730\u6709\u7f13\u5b58<\/span>\n <\/div>\n
\n
\n<\/div>\n
\n
<\/span>\n<\/div>\n\n
\n
\u6267\u884c\u547d\u4ee4,\u5378\u8f7d<\/span>\n <\/div>\n\n
$ rm -rf ~\/Library\/Application\\ Support\/Developer\/Shared\/Xcode\/Plug-ins\/Alcatraz.xcplugin<\/span>\n <\/div>\n\n
<\/span>\n <\/div>\n\n $ rm -rf ~<\/span>\/Library\/<\/span>Application\\ Support<\/span>\/Alcatraz\/<\/span><\/span>\n <\/div>\n