第一步:下載項目
Clone該項目:plug-in ,運(yùn)行該項目后將其關(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時會提示“Load bundle”奏黑、 “Skip Bundle”,這里必須選擇“Load bundle”堤框。
第五步:自動輸出
你在項目不同的位置輸入"http:///",會自動輸出不同的結(jié)果,自己試試吧!