1、添加依赖
s.subspec 'Other' do |other|
s.frameworks = 'UIKit'
other.dependency '私有库'
end
2、验证
pod lib lint --allow-warnings --sources='https://cdn.cocoapods.org/,私有库地址'
2、更新spec
pod repo push 本地repo名 podspec名.podspec --allow-warnings --sources='https://cdn.cocoapods.org/,私有库'