You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter App Clip真机无法发起API请求问题排查

iOS真机App Clip网络连接错误(错误码65)

DioException [connection error]: 连接错误:连接失败
flutter: │ 🐛 错误:SocketException: 连接失败(系统错误:无主机路由,错误码 = 65)

该错误仅在真机构建App Clip时出现,模拟器上运行App Clip无此问题。

测试设备

  • 运行iOS 17.0.1的iPhone 11
  • 运行iOS 17.0.0的iPhone XR

开发环境配置

[✓] Flutter (Channel stable, 3.13.0, on macOS 13.5.2 22G91 darwin-arm64, locale en-TR)
    • Flutter version 3.13.0 on channel stable at /Users/alisinancobani/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (6 weeks ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.12.1

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Users/alisinancobani/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.9559.10

[✓] Connected device (4 available)
    • Ali Sinan’s iPhone (mobile) • 00008030-000E0C4A3E91802E            • ios            • iOS 17.0.1 21A340
    • iPhone 15 Pro Max (mobile)  • EFA350D8-D6B5-4AE0-8611-B54055363A36 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 117.0.5938.92

内容的提问来源于stack exchange,提问作者ASCI

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.09 21:52:52