CocoaPods podspec依赖项在存储库之间共享一些个人测试代码的最佳方法是什么?

时间:2016-03-26 18:01:41

标签: git dependencies repository cocoapods

我有两个存储库用于我在Objective-C上的个人测试。(Pod_A& Pod_B)

这些存储库中有一些malloc函数,所以我创建了另一个存储库来放置那些相同的函数。(Pod_C)

然后设置Pod_A.podspec

s.dependency 'Pod_C', :git => 'https://github.com/myName/Pod_C.git'

我的pod安装Pod_A失败, 然后我发现podspec依赖关系的一些问题。 它似乎是不受支持的依赖

s.dependency :git

How do I create a CocoaPods podspec that has a dependency that exists outside of Specs? Is there a way to specify a dependency on another branch when building my Cocoapod?

0 个答案:

没有答案