Home > Blockchain >  Flutter App can't launching in iPhone without connecting to the computer?
Flutter App can't launching in iPhone without connecting to the computer?

Time:09-06

I can build & launching app well in my iPhone when my phone is connecting to the macbook , and launching by the command line flutter run.

But when i disconnect my iPhone from the macbook . and I want to launch the app from the iPhone's desktop. the app seems can't launch , and will exit very soon.

Is there any way to launch flutter app from the iPhone's desktop?

CodePudding user response:

This is happen because you are building iOS app in debug mode, run app in profile or release mode and it will fix.

CodePudding user response:

Thanks for the @eamirho3ein's answer: change the debug to release fix the problem. In fact, there is one thing to be metioned: the default config in xcode for command-line build is release already, but if you change this mode won't help. the mode needed to be change is the flutter run mode. there are many ways to do this.

  • Related