Repository navigation
Closed
Labels
customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
When running the app on physical device it got stuck at installing and launching and only blank white screen appear.
iOS : 14.7.1
xcode : 12.5 or 13 beta still not fix the problem
Emulator : working properly
Info.plist information for local networking still not working
flutter clean or recreate ios folder using flutter create . did not help, i'm running out option
Logs
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en-ID)
• Flutter version 2.2.3 at /Users/ridwanfauzan/Documents/flutter
• Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/ridwanfauzan/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5212g
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.59.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (3 available)
• iPhone Testing (mobile) • 8b4b2dd0e3ca37ed268847ee5c745201027ef939 • ios • iOS 14.7.1
• macOS (desktop) • macos • darwin-x64 • macOS 11.4 20F71 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
• No issues found!Reacted by Danilo Rêgo and Helielson
Metadata
Metadata
Assignees
Labels
customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
rymesaint commentedon Aug 18, 2021
TahaTesser commentedon Aug 18, 2021
Hi @rymesaint
Thanks for filing the issue
Instead of cleaning an existing project or creating an ios folder, can you please try to reproduce the issue using a new project without using third-party packages?
flutter create myappcd myapp(add your team id to run the app on physical device)flutter run -v > run.log(this will copy your logs in a file, please drop this file in the comments below)Thank you
rymesaint commentedon Aug 18, 2021
still blank with new project without any third party packages
run.log
TahaTesser commentedon Aug 18, 2021
Hi @rymesaint
I just tried a physical device with
iOS 14.7.1and it runs fine when running new or existing project on the lateststableandmasterchannelsLogs
run.log
flutter doctor -v
Your issue looks similar to #67222
MateusHBR commentedon Aug 18, 2021
here is happening the same...
all members of my team too.
MateusHBR commentedon Aug 18, 2021
A workaround that worked here is running on the xcode but you do not have the power of hot reload.
rymesaint commentedon Aug 18, 2021
deleting flutter_tools.stamp did not work, using new download from flutter.dev its work only using xcode with terminal still the same error
in xcode debugger output
TahaTesser commentedon Aug 18, 2021
Hi @rymesaint
I just tried again, I still can't reproduce on a smaller app, when loading Flutter Gallery, which is much bigger, still doesn't get stuck, and only a blank page for a short time which has been there before
On stable channel
RPReplay_Final1629297653.mov
On master channel
RPReplay_Final1629299247.MP4
Does something happens if you wait few seconds on the blank screen? App closes or stays as it is?
daniloapr commentedon Aug 18, 2021
I am having the same issue on iPhone with iOS 14.7.1. I just created a new empty project and tried to run it from Xcode, and a white screen appears on the device and stays there forever. This is the log on Xcode's terminal:
From VSCode, running
flutter run, I get the following output:Although it says
Installing and launching, it just keeps on the white screen. It works normally on Simulator with iOS 14.5.My flutter doctor:
15 remaining items
jmagman commentedon Aug 18, 2021
@MateusHBR
jmagman commentedon Aug 19, 2021
I'm able to reproduce this by downgrading from any other channel to stable.
On stable 2.2.3 downloaded from the website
bin/cache/artifacts/engine/ios/Flutter.xcframeworkcontains:However, when you downgrade from any other channel to stable it instead contains:
It contains the newer
ios-arm64_x86_64-simulatorfrom #85642 in 2.4.0-4.0.pre, and it contains the newer Xcode 12 styleios-arm64_armv7https://github.com/flutter/infra/pull/473.Sure enough I can see the Flutter.framework Info.plist
FlutterEnginebeing embedded in the app does not match the engine hash from stable 2.2.3. And when Irm -rf bin/cache/artifacts/engine/ios*and thenflutter cleanit doesn't reproduce.Another version of old cache files not being cleaned up.
Steps to reproduce
Workaround
jmagman commentedon Aug 19, 2021
Duplicate of #85062. The stale artifacts problem was fixed by #85075 available on 2.4.0-0.0.pre.
[-][iOS 14.7.1] App gets stuck at blank screen - `Could not launch engine with configuration`[/-][+]App gets stuck at blank screen - `Could not launch engine with configuration`[/+]jmagman commentedon Aug 19, 2021
@MateusHBR @rymesaint @daniloapr Can you confirm this workaround works for you?
rymesaint commentedon Aug 19, 2021
ok this one solve the problem thanks
ristiisa commentedon Aug 19, 2021
https://drive.google.com/file/d/1_Eh305syqpAHbKJILHy33srA8y4Sa2Qm/view?usp=sharing
jmagman commentedon Aug 19, 2021
Closing as duplicate of #85062. The workaround is to stay on the beta channel until the next stable, or to run the following after switching to 2.2.3:
github-actions commentedon Sep 2, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.