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?
To install the pods, do one of the following: Place the caret at the code line where you add the pod, press ⌥ ⏎ , select Install, and press ⏎ . Click Install pods in the top-left corner of the editor window. From the main menu, select Tools | CocoaPods | Install.
You can add dependencies on subspecs. Specify the minimum deployment target version for the Pod library. Re-import the project.
By default CocoaPods only links with the first target it finds. You probably want to look at the xcodeproj and link_with Podfile directives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With