platform :ios, '9.0'
target 'TestPod' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for TestPod
pod 'SmartBeeKit', :git => 'https://github.com/xxx/SmartBeeKit.git'
end
複製代碼
pod repo add Rbbin https://github.com/xxx/Rbbin.gitgithub
能夠用下面的命令,來查看是否關聯成功markdown
pod repooop
能夠用下面的命令,來刪除索引庫測試
pod repo remove [索引庫名字]ui
2.3 將私有倉庫push到索引庫
pod repo push Rbbin SmartBeeKit.podspecurl
2.4 配置podfile文件以下,而後pod install
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/xxx/Rbbin.git'
platform :ios, '9.0'
target 'TestPod' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for TestPod
# pod 'SmartBeeKit', :git => 'https://github.com/xxx/SmartBeeKit.git'
pod 'SmartBeeKit', '~> 0.0.1’
end
複製代碼
2.5 如何更新維護?
若是有新版本了,好比1.0.0,就須要再次執行命令 pod repo push Rbbin SmartBeeKit.podspec,就能夠更新上去.spa