flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.29k stars 27.52k forks source link

App is white, then quits, on iPod #2586

Closed sethladd closed 8 years ago

sethladd commented 8 years ago

I created a brand-new project with flutter create, and then flutter run to my iPod. The app is installed onto the device, but when I run it, it's a pure white screen, and then approx 10s later it quite.

~/Code/mute_field_6440 $ flutter -d 2175d44c48c2ba9a5bbad10262cf8e7f04aab8e7 run
Starting lib/main.dart on iPod touch...
[....] Waiting for iOS device to be connected
[....] Using N102AP 'iPod touch' (2175d44c48c2ba9a5bbad10262cf8e7f04aab8e7).
------ Install phase ------
[  0%] Found N102AP 'iPod touch' (2175d44c48c2ba9a5bbad10262cf8e7f04aab8e7) connected through USB, beginning install
[  5%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/ to device
[  5%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/com.apple.ZipMetadata.plist to device
[  6%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/ to device
[  6%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/CodeResources to device
[  7%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29@2x.png to device
[  8%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29@2x~ipad.png to device
[  8%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29@3x.png to device
[  9%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29~ipad.png to device
[ 10%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40@2x.png to device
[ 10%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40@2x~ipad.png to device
[ 11%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40@3x.png to device
[ 12%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40~ipad.png to device
[ 12%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon60x60@2x.png to device
[ 13%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon60x60@3x.png to device
[ 14%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76@2x~ipad.png to device
[ 14%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76~ipad.png to device
[ 15%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon83.5x83.5@2x~ipad.png to device
[ 16%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/embedded.mobileprovision to device
[ 17%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/ to device
[ 17%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/ to device
[ 18%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/ to device
[ 19%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/CodeResources to device
[ 19%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/app.flx to device
[ 20%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/FlutterApplication to device
[ 28%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/Info.plist to device
[ 29%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/icudtl.dat to device
[ 34%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Info.plist to device
[ 34%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/ to device
[ 35%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device
[ 36%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/Info.plist to device
[ 36%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device
[ 37%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/PkgInfo to device
[ 38%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/Runner to device
[ 49%] Copying /Users/sethladd/Code/mute_field_6440/ios/.generated/build/Release-iphoneos/Runner.app/ServiceDefinitions.json to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
[ 75%] CreatingContainer
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[ 95%] GeneratingApplicationMap
[100%] Installed package ios/.generated/build/Release-iphoneos/Runner.app

Output of the logs:

~/Code/mute_field_6440 $ flutter -d 2175d44c48c2ba9a5bbad10262cf8e7f04aab8e7 logs
Showing iPod touch logs:
Mar 10 14:05:05 iPod-touch installd[47] <Notice>: 0x16e12f000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Runner.app" type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 285)
Mar 10 14:06:12 iPod-touch SpringBoard[54] <Warning>: Forcing crash report of <FBApplicationProcess: 0x14ff58dd0; Runner; pid: 1143> (reason: 1, description: com.yourcompany.muteField6440 failed to scene-create after 19.86s (launch took 0.14s of total time limit 20.00s))
Mar 10 14:06:12 iPod-touch ReportCrash[1144] <Warning>: saved type '109_Runner' report (4 of max 25) as /var/mobile/Library/Logs/CrashReporter/Runner_2016-03-10-140612_iPod-touch.ips
~/flutter/testme3 $ flutter --version
Flutter from git@github.com:flutter/flutter.git (on master)
Framework: 3b5fba40227cd0ee0949bbe195edd372f84b0e7e (79 minutes ago)
Engine:    d1515e676438d79046508ca009044df246564ced

[✓] The iOS toolchain is fully installed.
[✓] The Android toolchain is fully installed.
[✓] The Atom development environment is fully installed.
sethladd commented 8 years ago

cc @chinmaygarde

chinmaygarde commented 8 years ago

Reopening since the patch has not yet landed.

sethladd commented 8 years ago

Thanks for the quick help!

sethladd commented 8 years ago

Fixed, and confirmed!

github-actions[bot] commented 3 years ago

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 -v and a minimal reproduction of the issue.