我正在尝试在 ios 模拟器中运行我的 flutter 应用程序,输出如下:
[!] Error installing WebRTC-SDK
[!] /usr/bin/curl -f -L -o
/var/folders/7c/x6fhg5lx79x57z6_fv3x0fk00000gn/T/d20230401-8414-3e2zl9/file.zip
https://github.com/webrtc-sdk/Specs/releases/download/104.5112.09/WebRTC.xcframework.zip --create-dirs
--netrc-optional --retry 2 -A 'CocoaPods/1.12.0 cocoapods-downloader/1.6.3'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0
0
...
curl: (28) Failed to connect to 10.38.6.127 port 42222 after 75538 ms: Couldn't connect to server
Warning: Problem : timeout. Will retry in 1 seconds. 2 retries left.
...
curl: (28) Failed to connect to 10.38.6.127 port 42222 after 75460 ms: Couldn't connect to server
如您所见,下载cocoapods时出现问题,我已经执行了
gem install cocoapods
和pod setup
。 flutter doctor
运行没有遇到任何问题。为什么会出现此问题,我该如何解决?我也试过关闭我的 VPN。
• Flutter square_in_app_payments 应用程序不会在模拟器上运行
• 在 React 中使用 Run:netwrork 和 Bitcoin SV
• 如何修复导致的错误:pub get failed(69) During running futter doctor
• 运行构建适配器时出现 Flutter hive 生成器错误
• 我的项目运行完美,但在重新安装 windows 后,flutter 旧的 sdk 文件被删除,这就是为什么我安装了新版本。之后这个错误
• Flutter Doctor:运行“flutter doctor --android-licenses”时出错
• npm install && npm run dev 安装Laravel Breeze 时报错
• 使用 Flutter web RTC 的视频通话显示黑屏
• 构建失败:当我运行 npm run android 时无法安装应用程序
• 任务 ':app:validateSigningDebug' 执行失败。 java.util.concurrent.ExecutionException:
• 错误 amazon-ivs-react-native-player 与 Android
• 我无法构建 appbundle 并出现错误“任务 ':app:signReleaseBundle' 执行失败。”
• React:“重定向”不是从“react-router-dom”导出的
• C:\src lutter in lutter.bat doctor --verbose Error: Unable to find git in your PATH
• 安装 sudo gem install cocoapods 时出错
• 编译 flutter 项目时出错(BlueBubbles)
• 带有 auto_route 的 Flutter build_runner 似乎只是暂停然后在几分钟后失败而没有吐出任何信息直到失败
• 颤动错误:com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction