LoginSignup
21
20

More than 5 years have passed since last update.

[XCode][Cocoapods]ビルドエラー時の対処法

Last updated at Posted at 2017-02-08

問題

Podfileに新しいライブラリ(Firebase/Core)を追加してビルドしたところ下記のようなエラーが出た。

ld: warning: directory not found for option '-F/Users/.../GoogleToolboxForMac'
ld: framework not found GoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解決法

先輩に解決方法を教えてもらったのでφ(..)メモメモ。

1. Build Active Architecture Only を No に統一する

Build Settings のBuild Active Architecture Only をNoにする。

スクリーンショット_2017-02-08_18_25_40.png

スクリーンショット_2017-02-08_18_25_56.png

2. Clean Build Folder & Build

optionを押しながらProductメニューをクリックして、「Clean Build Folder」を実行。
その後、再ビルドすればいけるはず・・。

21
20
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
21
20