flutter app exit suddenly when launch directly from device

Frank
Feb 5, 2023

--

In iOS 14+,debug mode Flutter apps can only be launched from Flutter tooling, IDEs with Flutter plugins or from Xcode. Alternatively,build in profile or release modes to enable launching from the home screen.

Please run in release mode by the following way:

flutter run --release

By the way, if you got the null check error as: Error (Xcode): Error: Cannot run with sound null safety, pease add ` — no-sound-null-safety` option:

flutter run --release --no-sound-null-safety

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Frank
Frank

Written by Frank

0 Followers

A C/C++ programmer has a strong curiosity with new technology (e.g. Go, Dart, Apex).

No responses yet

Write a response