Black screen when launching for debugging on iOS 11

See original GitHub issue

using version from vscode extension marketplace

  1. flutter create testapp
  2. cd testapp
  3. Debug > Start Debugging
  4. select “flutter mobile app”
  5. Debug > Start Debugging - again
  6. App launches as black screen

Edit (@DanTup): Related flutter issue -> https://github.com/flutter/flutter/issues/10602

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:48 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
cbrackencommented, Aug 30, 2017

Update: Xcode 9 + iOS 11 are now supported. Running flutter doctor on the command line when an iOS 11 device is attached should output the following:

[-] iOS toolchain - develop for iOS devices (Xcode 9.0)
    • Xcode at /Applications/Xcode9.0.app/Contents/Developer
    • Xcode 9.0, Build version 9M214v
    ✗ libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:
        brew uninstall --ignore-dependencies libimobiledevice
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.1
    • CocoaPods version 1.3.1

Running the steps outlined should resolve the issue:

brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
brew install ideviceinstaller

Then re-run flutter doctor once to verify no issues are found.

Note that Xcode 9 is required for iOS 11 development. If you’ve got side-by-side installs of Xcode 8 and the Xcode 9 beta, you’ll need to use the xcode-select command-line tool to ensure that the Xcode 9 command-line build tools are selected.

To check which tools are currently selected, run:

xcode-select -p

To switch to another Xcode version, run sudo xcode-select -s INSTALL_PATH. For an Xcode 9 beta install in /Applications, the command would be:

sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
1reaction
JackAppDevcommented, Jul 16, 2017

@DanTup Yes I’m happy that I now know I can use the iOS 10 simulator with Dart-Code. I am very happy that it works as it should with hot reload and all. Waiting 30+ seconds for each change was becoming unbearable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

app has black screen on device. wo… - Apple Developer
problem - app shows launch screen and then shows a black screen without any UI. the app works fine on simulator ios 13...
Read more >
iOS Random black screen when loading the app - Edureka
The app is opening on a tableview loading remote data. The bug is quite random so I have no clue how to replicate...
Read more >
Launch iOS simulator from Xcode and getting a black screen ...
The solution is to press cmd+shift+, (command, shift and then comma ",").. that loads some options for release or debugging. Change the debugger...
Read more >
3 Easy Solutions to Fix iOS 16/15 Stuck on Black Screen
Way 1. Force Restart iPhone/iPad Running iOS 16/15 · Press and hold still the Volume Down and the power button (located at side...
Read more >
Running Xamarin Forms iOS gave me a black screen
@JessieZhang-2116 It turned out that info.plist file was inadvertently and erroneously modified which caused the black screen. Now that info.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found