Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
29
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Organization

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

なんか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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
29
Help us understand the problem. What are the problem?