flutter增加QQ登录添加第三方库时遇到:[!] CDN: trunk Repo update failed

解决办法:
在podfile文件中指定source源为master:

source 'https://github.com/CocoaPods/Specs.git'

添加前

target 'Runner' do
  use_frameworks!
  use_modular_headers!

添加后

source 'https://github.com/CocoaPods/Specs.git'

target 'Runner' do
  use_frameworks!
  use_modular_headers!

转自
https://www.jianshu.com/p/bf1cbe49cb5d

你可能感兴趣的:(flutter增加QQ登录添加第三方库时遇到:[!] CDN: trunk Repo update failed)