我试图开发我的颤振应用程序的物理(iOS)设备插入,以访问热重装和热重启。(通过flutter run)
我可以用flutter run用我的设备运行这个应用程序,但是,我得到了日志:
If you do NOT see the Flutter application running, it might have crashed. The device logs (e.g. from adb or XCode) might have more details.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port known to be available.这禁止我访问控制台中的开发工具。
有办法找到物理设备的--host-vmservice-port吗?
发布于 2022-08-01 05:49:21
发现这是因为我的系统用户没有/flutter/bin/cache/artifacts/usbmuxd/iproxy文件的读/写权限。
在this之后启用它,现在我能够使用物理设备✔️成功地调试和重新加载
https://stackoverflow.com/questions/73189181
复制相似问题