How do I make pods installed with CocoaPods available to ALL projects in my workspace?
Asked Answered
D

1

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?

Donnydonnybrook answered 25/4, 2013 at 3:38 Comment(0)
C
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.

Convalesce answered 25/4, 2013 at 13:56 Comment(1)
if ever an answer deserved a check, this is it.Mcquillin

© 2022 - 2024 — McMap. All rights reserved.