【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
特征:
每次重新启动
原生侧运行报
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 不确定啥原因
connect via network 是灰色选中,无法反选掉,
可以确认是connect via network导致的
处理后没在出现这种场景