flutter ios17 白屏 The Dart VM service is listening on http://0.0.0.0

离谱 有可能log日志中的http://127.0.0.1:5293没问题,但是白屏不显示东西,
The Dart VM service is listening on http://127.0.0.1:53138/r9IdNcy_Z5Y=/
先重新插拔设备看行不行不行 重启 unpair来一套

【ios17 flutter侧运行listening http://0.0.0.0:50759/IfZYZOPyRlg=/

正常的是flutter: The Dart VM service is listening on http://127.0.0.1:52934/Aa-Gp8IHCZs=/
出问题的是http://0.0.0.0

先说出现的原因 每次重启电脑在下图红框位置会出现连接了 via network的标志


1
2

unpair后重新插拔设备信任设备 就不会在连接了,每次重启电脑都会出现这个情况

特征:

每次重新启动

原生侧运行报

Framework 'Pods_Runner' not found

The item at BizFXRunner.app is not a valid bundle.

The path to the provided bundle's main executable could not be determined.

flutter侧运行能看到非常规链接地址

The Dart VM service is listening on http://0.0.0.0:50759/IfZYZOPyRlg=/

或者直接报超时

The Dart VM Service was not discovered after 75 seconds. This is taking much longer than expected...

Open the Xcode window the project is opened in to ensure the app is running. If the app is not running, try selecting "Product > Run" to fix the problem.

Click "Allow" to the prompt asking if you would like to find and connect devices on your local network. This is required for wireless debugging. If you selected "Don't Allow", you can turn it on in Settings > Your App Name > Local Network. If you don't see your app in the Settings, uninstall the app and rerun to see the prompt again.

工程文件夹里

和derivedData的Debug-iphoneos里

都有bizFXRunner.app

1:derivedData里的从xcode侧运行

2:工程文件夹里的是从Flutter侧运行

有可能是connect via network的问题

1:The Dart VM service is listening on http://0.0.0.0:50759/IfZYZOPyRlg=/ 有可能是connect via network的问题 把这个关掉

2****: Framework 'Pods_Runner' not found 不确定啥原因

无法反选.png

connect via network 是灰色选中,无法反选掉,

可以确认是connect via network导致的
处理后没在出现这种场景

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容