修改flutter代碼后保存 熱更新沒有生效
console log顯示
Error connecting to the service protocol: HttpException: , uri = http://127.0.0.1:1024/ws
猜測flutter的熱更新應(yīng)該是通過http來更新客戶端的代碼
于是打開Xcode->Window->Devices and Simulators
勾選Connect via network
image.png
再次嘗試熱更新成功.