could not find included file 'pods/target support files/pods-runner/pods-runner.debug.xcconfig 什么问题

从GitHub上面下载了 跨平台的蓝牙放在XCode 下运行 回出现这个问题 已经用过 flutter packages get , 在android studio 下都没问题. 

 

Showing All Messages
:-1: /Users/项目路径/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')

flutter build ios 后出现:

Error output from CocoaPods:
↳
         Cloning into '/var/folders/tn/1d782flx6z11fczzvkj0cbkh0000gn/T/d20190923-87862-53h87v'...
         fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

    [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your
    Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

pod install 后出现:

Failed to connect to chromium.googlesource.com port 443: Operation timed out

解决办法:
这是因为terminal没有走代理的流量,
使用git config --global http.proxy "localhost:port",设置代理。
port是端口号,根据不同的vpn不一样,我的端口是10080。
执行 git config --global http.proxy "localhost:10080"

 

另附 更多其他问题解决方法: https://www.jianshu.com/p/a2a1d1ce2449

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值