I am trying to create a private CocoaPod that I will use/install in another project lets call my pod "MyPod" and my project "MyProject".
MyPod is depending on another pod called BMSSecurity. Here you can see the Podfile for MyPod:
target 'MyPod' do
target 'MyProject' do
pod 'MyPod', :path => '../MyPod'
Add BMSSecurity pod as a dependency of your private pod. In your .podspec file:
Pod::Spec.new do |s| s.name = 'MyPod' s.version = '1.0.0' s.summary = 'A short description of MyPod.' # ... s.dependency 'BMSSecurity' # ... end