gpt4 book ai didi

ios - 添加 appledoc 时出错

转载 作者:可可西里 更新时间:2023-11-01 02:27:25 26 4
gpt4 key购买 nike

我正在添加 appledoc,但出现错误:

line 3: /usr/local/bin/appledoc: No such file or directory 

这一行是--project-company "DEIMOS SPACE"\我为我的公司更改了名称,但我不确定这是否正确,我什么时候可以看到这个名称?

我添加了脚本,然后我看到了一些教程,例如:http://tutoriales-asg.blogspot.com.es/2014/02/configurar-appledoc-en-xcode.htmlhttp://www.simplicate.info/2013/07/25/using-appledoc-to-generate-xcode-help-part-1/但这会出错。如何正确地做到这一点?什么不好?

谢谢!

编辑脚本是:

 /usr/local/bin/appledoc \
--project-name "${PROJECT_NAME}" \
--project-company "$YOUR_COMPANY" \ //Get /usr/local/bin/appledoc: No such file or directory HERE

--company-id "ExampleProject" \
--output "${PROJECT_DIR}/Help/${PROJECT_NAME}" \
--install-docset \
--logformat xcode \
-keep-undocumented-objects \
--keep-undocumented-members \
--keep-intermediate-files \
--no-repeat-first-par \
--no-warn-invalid-crossref \
--merge-categories \
--exit-threshold 2 \
--docset-platform-family iphoneos \
--ignore "*.m" \
--include "${PROJECT_DIR}/${PROJECT_NAME}/Documentation/Images" \
--ignore "LoadableCategory.h" \
--index-desc "${PROJECT_DIR}/readme.markdown" \
"${PROJECT_DIR}/${PROJECT_NAME}"

最佳答案

我解决了这个错误。输入下面的 2 个命令。

$ brew install appledoc
Updating Homebrew...
$ ^C==> Downloading https://homebrew.bintray.com/bottles/appledoc-2.2.1.sierra.bottl
######################################################################## 100.0%
==> Pouring appledoc-2.2.1.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/appledoc/2.2.1: 26 files, 1.2M

关于ios - 添加 appledoc 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26705886/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com