skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

    It turned out that I could use the Flutter app without my usb cable connected. First I had to run the app on my iPhone via XCode. Then I only had to deploy the app to my iPhone with

    flutter run --release.


  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search