1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IGListKitのデモでビルドエラーが発生したので解消した

Posted at

IGListKitが便利だと聞いたので、早速使ってみようと思い公式のリポジトリをクローンし環境構築をしたのですが、ビルドエラーが発生してデモプロジェクトを起動することができませんでした。

環境

Version
iOS 10.14.3
CocoaPods 1.6.0
Xcode 10.1

手順

公式サイトのREADMEに従い、以下を実行。

$ git clone https://github.com/Instagram/IGListKit.git
$ cd IGListKit/
$ ./scripts/setup.sh

私の場合、この時点でbundle: command not found が発生しました。
遠い昔にインストールしたような気がするけど、とりあえず以下を実行。
環境構築系本当苦手・・・:disappointed_relieved:

$ sudo gem install bundler -n /usr/local/bin

念のため確認

$ bundle -v
$ Bundler version 2.0.1

これで環境系は整ったはずなのでビルドを実行。

↓↓↓

'IGListKit/IGListAdapterUpdateListener.h' file not found

ビルドエラーが発生しました。:persevere:

検索したら同じ事例を発見。
こちらを参考にして以下を実行。

$ cd Examples/Examples-iOS 
$ pod update

再度ビルドした結果、ビルドエラーが解消されました!

何かおかしな点があればご指摘いただけますと幸いです。:pray:

参考

https://github.com/Instagram/IGListKit
https://github.com/Instagram/IGListKit/issues/1015

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?