问题 I'm using cocoapods now I would like to add a local pod dependency in my project, something like: s.dependency = 'my pod', :path => '' but I think is not possibile, some ideas? 回答1: I have faced with the same issue and after lot of googling and asking on the CocoaPods github I have finally found the suitable answer. It's not possible to set a local pod as a dependency, but it's possible to set a pod's source for a specific Podfile, which will work the same way. E.g., in your podspec, you