从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