(iOS)AppleDoc生成文档

原文链接地址:

http://www.cocoachina.com/ios/20161125/18183.html


PS:

跟原文不一样的操作,

执行install-appledoc.sh的时候不需要root权限


运行老是报以下错误:

!> 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

实际上已经创建成功,在项目目录下就能看到 com.meicai.MCPUtils.docset 显示包内容 Contents->Resources->Documents->index.html

你可能感兴趣的:((iOS)AppleDoc生成文档)