---
slug: "appledocのインストール(ビルド)に失敗する場合→プロジェクト設定を変更(Xcode5の場合)"
title: "What to Do When Appledoc Installation (Build) Fails: Changing Project Settings (For Xcode 5)"
description: "\n\nHow to Fix Build Failures of appledoc with Xcode 5"
url: "https://www.ytyng.com/en/blog/appledocのインストール(ビルド)に失敗する場合→プロジェクト設定を変更(Xcode5の場合)"
publish_date: "2014-04-22T07:57:32Z"
created: "2014-04-22T07:57:32Z"
updated: "2026-02-27T10:44:09.818Z"
categories: ["mac"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/0300c1c2f4b84919a6f60debe24fd165.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# What to Do When Appledoc Installation (Build) Fails: Changing Project Settings (For Xcode 5)

<div class="document">

<p>How to Fix Build Failures of appledoc with Xcode 5</p>
<p><a class="reference external" href="https://github.com/tomaz/appledoc/issues/442">https://github.com/tomaz/appledoc/issues/442</a></p>
<div class="section" id="id1">
<h3>Issue</h3>
<p>When cloning from GitHub and running install-appledoc.sh,</p>
<p>error: garbage collection is no longer supported</p>
<p>is displayed, causing the build to stop.</p>
<p>Alternatively, if you run brew install appledoc, it stops with (8 failures).</p>
</div>
<div class="section" id="id2">
<h3>Solution</h3>
<p>Open appledoc.xcodeproj in Xcode. (You will be asked if you want to convert to ARC, but do not proceed as it will fail.)</p>
<p>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.</p>
<p>If you check git diff, you will see that GCC_ENABLE_OBJC_GC = required; has been removed from appledoc.xcodeproj/project.pbxproj.</p>
<p>After that, execute ./install-appledoc.sh</p>
<p>→ You should be able to install it.</p>
</div>
<div class="section" id="id3">
<h3>Verification</h3>
<pre class="literal-block">$ which appledoc
/usr/local/bin/appledoc
</pre>
<pre class="literal-block">$ 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
...
</pre>
</div>
</div>
