第一步:下載項(xiàng)目
Clone該項(xiàng)目:plug-in,運(yùn)行該項(xiàng)目后將其關(guān)閉;
第二步:終端執(zhí)行
在終端先執(zhí)行 defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID,再拷貝字符串;
第三步:進(jìn)入Finder
1)點(diǎn)擊Finder前往目錄: ~/Library/Application Support/Developer/Shared/Xcode,
2)找到 VVDocumenter-Xcode 插件顯示包內(nèi)容,
3)進(jìn)入 Contents 文件夾 打開 Info.plist;
4)找到:DVTPlugInCompatibilityUUIDs,添加New item并將之前拷貝的字符串copy;
第四步:退出Xcode
現(xiàn)在完全關(guān)閉Xcode ,再重啟Xcode時(shí)會(huì)提示“Load bundle”、 “Skip Bundle”诵叁,這里必須選擇“Load bundle”。
第五步:自動(dòng)輸出
你在項(xiàng)目不同的位置輸入"http:///",會(huì)自動(dòng)輸出不同的結(jié)果,自己試試吧!
End…………