How to add a private CocoaPod as a dependency in another pod .podspec file?
问题 I am working on a private pod and that is dependent on other private pod. So i just want to mention it in my pod .podspec file. Its looks like this in .podspec file of pod2. s.dependency 'Pod1', '~> 0.0.1' , :git => 'https://github.com/MY_COMPANY/pod1.git', :commit => '9f9f4fe5b5959e0f2ea89e472eccf7aea6f37eea' And i came to know that "there is no :git and :commit options in podspec dependency specifier" so if not then how to achieve that thing? 回答1: You have to maintain a repository for your