29
29

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.

CocoapodsとXcode5の組み合わせでエラー出た+解決した

Last updated at Posted at 2013-09-20

なんかXcode5にアップデートしてみたらCocoapods関連で下記のwarning出てたのだけど気にせずビルドしたら案の定failした。
Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64'

エラーの内容はこれ。
ld: library not found for -lPods

解決策は、まずこれからCocoapodsを使う人は最新版に上げてから使いましょう。

また、このエラーでた人は、
Pods (the project) -> Pods (the target) -> Build settings
にあるArchitectureの設定のところで、Standard Architecture(armv7, armv7s)を指定してビルドしなおせば解決します。

参考:
https://github.com/CocoaPods/CocoaPods/pull/1352

29
29
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
29
29

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?