離譜 有可能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側運行l(wèi)istening 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
先說出現(xiàn)的原因 每次重啟電腦在下圖紅框位置會出現(xiàn)連接了 via network的標志
unpair后重新插拔設備信任設備 就不會在連接了昆婿,每次重啟電腦都會出現(xiàn)這個情況
特征:
每次重新啟動
原生側運行報
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側運行能看到非常規(guī)鏈接地址
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導致的
處理后沒在出現(xiàn)這種場景