[Xcode5][CocoaPods] Apple Match-O Linker Error: ld: library not found for -lPods

Tadashi Shigeoka ·  Tue, September 24, 2013

After updating to Xcode5, builds that previously worked started failing.

Error Message 1

xcode5-cocoapods-error1

Apple Match-O Linker Error
Linker command failed with exit code 1 (use -v to see invocation)

Error Message 2

xcode5-cocoapods-error2

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Library not found for -lPods
Linker command failed with exit code 1 (use -v to see invocation)

Concerning Warning Message

Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64'

Resolved by Updating CocoaPods

Update cocoapods.

gem update cocoapods

After updating, run pod install again.

pod install

When I built again, the build completed successfully.


Reference Information

Objective-C - CocoapodsとXcode5の組み合わせでエラー出た+解決した - Qiita [キータ]

That’s all from the Gemba.