我正在添加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.html和http://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}"发布于 2016-12-13 09:39:19
我解决了这个错误。键入下面的两个命令。
$ 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发布于 2014-11-03 15:48:39
不应该
-保留-未记录的对象\
有两个破折号,就像
--保留未记录的对象\
发布于 2014-11-03 15:51:40
顺便说一句,如果您使用xcode目标,则不需要反斜杠
https://stackoverflow.com/questions/26705886
复制相似问题