Command /bin/sh failed with exit code 126
Opened this issue · 7 comments
Hi,
Not working for XCode 8.3.1. Returning the following error:
Command /bin/sh failed with exit code 126
You mean appledoc doesn't compile on Xcode 8.3.1, or build script that collects documentation in your project doesn't work?
We are not able to create html file. Following is the script, I am using:
/usr/local/bin/appledoc
--project-name "${PROJECT_NAME}"
--project-company "AltCalulator"
--company-id "com.app"
--output "~/Projects/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}"
objc[5942]: Objective-C garbage collection is no longer supported.
/Users/deepakbhagat/Library/Developer/Xcode/DerivedData/Event_App-atwqjvhlbijrpoepegofhjqpnhnf/Build/Intermediates/Event App.build/Debug-iphonesimulator/Event App.build/Script-316D6F041EF91BF600C6CE3C.sh: line 17: 5942 Abort trap: 6
Command /bin/sh failed with exit code 134
my folder is not created for doc
Try with higher --verbose
setting, it'll give you more information as to why exactly it fails. Start with --verbose 3
and gradually increase until you get useful info
Try
brew upgrade swiftlint