错误:“ xcrun:错误:无法找到实用程序” docsetutil”,而不是开发人员工具或在PATH中”。在创建文档时 [英] Error: "xcrun: error: unable to find utility "docsetutil", not a developer tool or in PATH" while creating documentation
问题描述
我正在使用 appledoc 为我的框架生成Apple文档。
I am using appledoc to generate Apple documentation for my framework.
似乎升级到Xcode 9.3后,它已停止工作,并给我以下错误:
It seems that after upgrading to Xcode 9.3 it has stopped working, giving me the following error:
xcrun: error: unable to find utility "docsetutil", not a developer tool or in PATH
I中已经查看了已知问题: https://github.com/tomaz/appledoc/issues/628
I have looked at the known issue: https://github.com/tomaz/appledoc/issues/628
其中指出Xcode不再具有 docutils
。
Which states that Xcode doesn't have docutils
any more.
我也尝试过Xcode 9.4.1,但仍无法正常工作。
I have also tried with Xcode 9.4.1 and it's still not working.
对此有任何解决方案吗?
Is there any solution for this?
推荐答案
根据GitHub链接中@ x43x61x69的回答:
According to answer from @x43x61x69 in your GitHub link :
似乎不仅删除了docsetutil,而且还删除了DADocSetAccess.framework嗯。
经过测试的选项:
--create-html \
--no-create-docset \
--no-install-docset \
- -no-publish-docset \
可以在Xcode 9.3 GM上创建没有错误的html。
Seems not just docsetutil was removed but DADocSetAccess.framework as well. 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.
用于生成html文档,看来在我的情况下是有效的。我已经在XCode 9.4.1上进行了测试
At least for generating html documents it seems to be working in my case. I have tested on XCode 9.4.1
这篇关于错误:“ xcrun:错误:无法找到实用程序” docsetutil”,而不是开发人员工具或在PATH中”。在创建文档时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!