LoginSignup
16
16

More than 5 years have passed since last update.

Xcode5.1環境でappledocをインストールする

Last updated at Posted at 2014-04-03

検索しても日本語の記事が見当たらなかったためTipsとして残しておきます。

xcode5.1ではガーベッジコレクションのサポートがなくなりました。

New Features in Xcode 5.1

そのためGCを利用しているosxアプリケーションをビルドしようとすると、下記のエラーを出力します。

error: garbage collection is no longer supported

ソースコードからAppleライクなドキュメントを生成してくれるappledocも、2014/04/03時点のリビジョン(v2.2)ではGCを利用しています。
従って、homebrewもしくはリポジトリ内インストールスクリプトを使いビルドしても、上記エラーでインストールできません。

調べてみたところ、本件に関しては既にappledocのリポジトリ上でissueとして挙げられていました。
XCode 5.1: Garbage Collection Not Supported #435

こちらのやりとりの中で、開発者の方がビルド済みのappledocを配布されています。

Uploaded latest v2 binary release. It's not installer, but I think a developer should figure it out from install instructions on download page :)
https://github.com/tomaz/appledoc/issues/435#issuecomment-37917522

↓これをダウンロード・実行してみたところ、無事ドキュメントの生成が出来ました。
https://github.com/tomaz/appledoc/releases/tag/v2.2-963

16
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
16