[英]Error: “xcrun: error: unable to find utility ”docsetutil“, not a developer tool or in PATH” while creating documentation
I am using appledoc to generate Apple documentation for my framework.我正在使用appledoc为我的框架生成 Apple 文档。
It seems that after upgrading to Xcode 9.3 it has stopped working, giving me the following error:升级到 Xcode 9.3 后,它似乎停止工作,出现以下错误:
xcrun: error: unable to find utility "docsetutil", not a developer tool or in PATH
I have looked at the known issue: https://github.com/tomaz/appledoc/issues/628我查看了已知问题: https : //github.com/tomaz/appledoc/issues/628
Which states that Xcode doesn't have docutils
any more.这表明 Xcode 不再有docutils
。
I have also tried with Xcode 9.4.1 and it's still not working.我也尝试过 Xcode 9.4.1,但它仍然无法正常工作。
Is there any solution for this?有什么解决办法吗?
According to answer from @x43x61x69 in your GitHub link :根据 GitHub 链接中@x43x61x69 的回答:
Seems not just docsetutil was removed but DADocSetAccess.framework as well.似乎不仅仅是 docsetutil 被删除了,DADocSetAccess.framework 也被删除了。 Tested with options: --create-html \\ --no-create-docset \\ --no-install-docset \\ --no-publish-docset \\ which can create htmls w/o error on Xcode 9.3 GM.使用以下选项进行测试:--create-html \\ --no-create-docset \\ --no-install-docset \\ --no-publish-docset \\ 可以在 Xcode 9.3 GM 上创建没有错误的 html。
At least for generating html documents it seems to be working in my case.至少对于生成 html 文档,它似乎在我的情况下有效。 I have tested on XCode 9.4.1我已经在 XCode 9.4.1 上测试过
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.