(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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容