Quick fix: Flutter iOS App with white screen after install through TestFlight

Jatin Prajapati
2 min readAug 8, 2019

--

Hey!!! I’m glad to write my first ever article on Medium.

Being a beginner in Flutter app development, I learned lot about differences between Android and iOS.

As I’m writing my very first flutter app targeting Android and iOS, first I tried to publish the iOS version to the app testers via TestFlight.

Almost all steps went well where I’ve to configure different things in Apple Developer account and other things. However, when I published the app build on TestFlight and testers installed it, all started complaining that they only see a while blank screen and nothing else. App is not doing anything and not going further to other screens as well.

So, to find the culprit for the cause, I started digging the code to see any issue but no, nothing… When I run the app on simulator and even on real device, it works well but as soon as I publish the .ipa through Xcode and upload to TestFlight, issue comes to surface.

After a lot spending nearly 2 days by exploring code for any possible issue and through Google and other sites, I finally found a hit saying that before making archive of Flutter app in Xcode, we need to execute following command from flutter.

flutter build ios — release

And yes!!! First I built the release build from flutter command and then made the archive from Xcode, it worked exactly I want.

On another thing is, in the Flutter documentation it is mentioned to execute the above command before making archive. https://flutter.dev/docs/deployment/ios

So, I like to share this idea for other developers who can save their quality time.

Happy Fluttering!!!! :)

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

--

--

Responses (3)

Write a response