简体   繁体   English

错误:“xcrun:错误:在创建文档时无法找到实用程序”docsetutil“,不是开发人员工具或在 PATH 中”

[英]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 上测试过

you should select Xcode Command line tool by opening Xcode prefrences->Locations tab -> select your current command-line tool from the spinner then try again您应该通过打开 Xcode 首选项-> 位置选项卡-> 从微调器中选择您当前的命令行工具,然后重试来选择 Xcode 命令行工具在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 xcrun:错误:无法找到实用程序“PackageApplication”,不是开发人员工具或在 PATH 中 - 自从更新 Xcode - xcrun: error: unable to find utility “PackageApplication”, not a developer tool or in PATH - Since updating Xcode Xcode5.1 xcrun:错误:无法找到实用程序“ PackageApplication”,而不是开发人员工具或在PATH中 - Xcode5.1 xcrun: error: unable to find utility “PackageApplication”, not a developer tool or in PATH 从xc10> xc11迁移SceneKit应用程序时,我遇到“ xcrun:错误:无法找到实用程序” scntool”,而不是开发人员工具或在PATH中” - Migrating SceneKit app from xc10 > xc11, I encounter “xcrun: error: unable to find utility ”scntool“, not a developer tool or in PATH” codesign_allocate:错误:无法找到实用程序“codesign_allocate”,不是开发人员工具或在 PATH 中 - codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PATH Xcode 5.1 无法找到实用程序“make”,不是开发人员工具或在 PATH 中 - Xcode 5.1 unable to find utility "make", not a developer tool or in PATH 无法找到实用程序 actool:不是开发人员工具或在 PATH 中 - Unity - Unable to find utility actool: not a developer tool or in PATH - Unity macOS 中的 xcrun invalid active developer path 错误 - xcrun invalid active developer path error in macOS 如何修复 xcrun 无法找到 simctl 错误? - How do I fix the xcrun unable to find simctl error? 使用 Jazzy Documentation 使用 cocoa pod 创建文档时出错 - Error while creating documentation with cocoa pods using Jazzy Documentation 为iOS创建iOS Developer CSR时出错 - Error while creating iOS Developer CSR for iOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM