2014年3月12日水曜日

[cocoaPods][iOS]XCode5.1にアップデートして、standard architecturesが変更された

先日のアップデートを受け、自動的に、standard architectureにarm64が自動で追加されてしまった。
以前↓


今回のアップデート(iOS7.1 Xcode5.1)(2014/3/12現在)↓

てわけで、pod installしたタイミングでarm64が再び取り込まれエラーを吐き出すように。
Error:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=Standard, VALID_ARCHS=armv7 armv7s).


Architecturesに手打ちで armv7, armv7sと入力すると、
pod installした際に、

[!] Found multiple values (`armv7,`, `armv7s`) for the architectures (`ARCHS`) build setting for the `Pods` target definition. Using the first.

てなる。

【対処法】
32bit環境に変更する場合は
Architecturesに以下を設定
 $(ARCHS_STANDARD_32_BIT)

これで
$pod install
でおk。