6

I'm using XCode 4.6.1. I have several projects in my workspace, but only one of them is able to include libraries added with CocoaPods. The other projects don't detect them at all.

How do I share my CocoaPods with the entire workspace? Do I need to include libPods.a in the build dependencies of all projects? Do I need to add something special to the podfile?

zakdances
  • 22,285
  • 32
  • 102
  • 173

1 Answers1

8

By default CocoaPods only links with the first target it finds. You probably want to look at the xcodeproj and link_with Podfile directives.

alloy
  • 20,908
  • 2
  • 30
  • 40