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

(オサーンの備忘録2019)iOSのプロジェクトのlinkerエラーでやった事まとめ

Last updated at Posted at 2019-05-30

podのリンカーエラーででやった事まとめ

エラー内容

clang:-1: linker command failed with exit code 1 (use -v to see invocation)
  1. 当たり前だけど、「xxxx.xcworkspace」で開く
  2. 念の為 キレイキレイのコマンド pod install --repo-update
  3. 自分の環境では
The `プロジェクト名[Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-プロジェクト名/Pods-プロジェクト名.release.xcconfig'. This can lead to problems with the CocoaPods installation

が出てたので、OTHER_LDFLAGSに$(inherited)追加
4. Build Active Architecture Onlyをpodsprojectで合わせる。(これ大事)
で、ビルドが通りました。

それとprovisioningでエラーになっていたので。
PROVISIONING_PROFILEを削除しました。

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