How to Fix Build Failures of appledoc with Xcode 5
https://github.com/tomaz/appledoc/issues/442
When cloning from GitHub and running install-appledoc.sh,
error: garbage collection is no longer supported
is displayed, causing the build to stop.
Alternatively, if you run brew install appledoc, it stops with (8 failures).
Open appledoc.xcodeproj in Xcode. (You will be asked if you want to convert to ARC, but do not proceed as it will fail.)
In PROJECT -> appledoc -> Build Settings, under User-Defined, you will find GCC_ENABLE_OBJC_GC set to required. Select it and press the delete key to remove it.
If you check git diff, you will see that GCC_ENABLE_OBJC_GC = required; has been removed from appledoc.xcodeproj/project.pbxproj.
After that, execute ./install-appledoc.sh
→ You should be able to install it.
$ which appledoc /usr/local/bin/appledoc
$ appledoc --help 2014-04-22 16:56:19.396 appledoc[86974:507] 2014-03-22 07:33:02 +0000 2014-04-22 16:56:19.397 appledoc[86974:507] 2014-03-22 07:33:02 +0000 ...
Comments