iphoneobjective-ciosxcode4.3cocoapods

library not found for -lPods


I got an error when archiving a project. This is my environment.

The project deployment target is:

IPHONEOS_DEPLOYMENT_TARGET 3.2

The error shows:

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

I guess Pods is CocoaPods that I used to manage XCode project dependencies. https://github.com/CocoaPods/CocoaPods

This is my Podfile

platform :ios  
dependency 'libPusher', '1.1'

I am not sure what the error means?


Solution

  • Are you opening the workspace (that was generated by CocoaPods) instead of the xcodeproj?