LoginSignup
18
13

More than 5 years have passed since last update.

【swiftエラー】clang: error: linker command failed with exit code 1 (use -vto see invocation)

Last updated at Posted at 2017-08-20

xcodeのキャッシュ周りのエラー。

unityで同じ名前のアプリをビルドしてておかしくなったり、
carthageかcocoapods付近がおかしくなってる可能性あり。
carthageをupdateしてライブラリをビルドし直したら直った。

This usually happens when using Cocoapods and you are building from the xcproject which doesn't know about the cocoapod libraries.

参照
https://www.bountysource.com/issues/39247126-clang-error-linker-command-failed-with-exit-code-1-use-vto-see-invocation
importヘッダまわりのエラーの場合もあるようだ。
http://d.hatena.ne.jp/goodbyegirl1974/20120920/1348106337

18
13
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
18
13