原文鏈接地址:
http://www.cocoachina.com/ios/20161125/18183.html
PS:
跟原文不一樣的操作炉擅,
執(zhí)行install-appledoc.sh的時候不需要root權(quán)限
運(yùn)行老是報以下錯誤:
!> xcrun: error: unable to find utility "docsetutil", not a developer tool or in PATH
docsetutil failed to index the documentation set, continuing with what was indexed...
appledoc version: 2.2.1 (build 1334)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Expected end of line but found identifier.
Command /bin/sh failed with exit code 2
實(shí)際上已經(jīng)創(chuàng)建成功吕朵,在項(xiàng)目目錄下就能看到?com.meicai.MCPUtils.docset 顯示包內(nèi)容 Contents->Resources->Documents->index.html