一、CocoaPods第三方类库管理工具
(1)切换ruby的源,sudo gem sources --remove https://rubygems.org/
sudo gem sources -a http://gems.ruby-china.org/,安装sudo gem install cocoapods
(2)注册账号,pod trunk register ‘电子邮箱’(发送验证链接)name --description=‘device name’
(3)在工程目录 touch Podfile,文件内容格式为:
platform :ios
target 'project name' do
pod
end
(3)pop install卡,切换为pod install --verbose --no-repo-update
来源:CSDN
作者:青山ing
链接:https://blog.csdn.net/weixin_42516594/article/details/104600177