1.进入到 TestPerson文件夹  git init , git add . , git commit -m "*xx"

2.pod spec create TestPerson

3.修改 .podspec 文件 修改 s.source       = { :git => "", :tag => "#{s.version}" }

4.进入到Tes文件夹中 pod init, 修改 Podfile 文件如下图, 然后 pod install

Pod 私有化本地仓库


相关文章: