Home > Net >  Can't run Flutter app on iOS without usb-cable connected
Can't run Flutter app on iOS without usb-cable connected

Time:02-16

I have a Flutter project which shows a map with a user's location.

This app runs fine on physical Android and iOS devices when connected via USB.

Without having the USB cable connected on iOS, the app crashes immediately when started. On Android this not an issue.

Other apps I've made in Ionic/Angular did not have this problem. Could it be that there is some debugger in XCode to which my app tries to connect? Or maybe another setting I've missed?

CodePudding user response:

This is a known issue. The Flutter iOS app when run in debug mode won't be able to run on a physical device when disconnected to the host machine due to changes in debugger mechanisms since iOS 14.

  • Related