轉載
本文要說的是Xcode 8下使用Alcatraz的可能性吁恍。我在搜索Xcode 8 下如何使用 Alcatraz 時,搜到了下面一個方案播演。
具體步驟如下:
從https://github.com/steakknife/unsign下載unsign工具,使用 make 編譯unsign,得到可執(zhí)行文件unsign
git clone https://github.com/steakknife/unsign.git
cd unsign
make
然后使用unsign為xcode移除簽名冀瓦。
./unsign /Applications/Xcode.app/Contents/MacOS/Xcode
會在/Applications/Xcode.app/Contents/MacOS/下生成Xcode.unsigned,備份好原始的Xcode,把Xcode.unsigned重命名為Xcode写烤,重啟Xcode翼闽。你就會發(fā)現(xiàn)Xcode提醒你是否加載Alcatraz的Bundle。
然后運行以下命令
find~/Library/Application/Support/Developer/Shared/Xcode/Plug-ins-nameInfo.plist-maxdepth3|xargs-I{}defaults write{}DVTPlugInCompatibilityUUIDs-array-add`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
重啟Xcode即可洲炊。我裝了兩個插件 Uncrustify 和Auto-Importer感局,目前來說是可用的。
注意
這種方法可能會導致Xcode不穩(wěn)定选浑,所以還是謹慎使用蓝厌。