You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Black screen when launching for debugging on iOS 11 #358
So, given that the error still occurs when Dart-Code isn't involved, I suggest bringing the problem to the main Flutter repo. Someone with more Mac/iOS experience should be able to help you.
@JackAppDev Could you try enabling the Observatory and FlutterRun logs (see here) and attaching them (after reviewing for no personal data).
I removed the super-verbose comment above; I don't think it's relevant atm (esp. if it works outside Dart Code) and was tedious scrolling here on mobile =)
@JackAppDev Also, can you post the version of the Dart SDK being used (it'll appear bottom right of the status bar in Dart Code), VS Code version and what device you're using (Android or iOS, emulator or physical)? Thanks!
dart is the most up to date installed with homebrew
Flutter actually includes its own version of the SDK which is what's used here (in this case 1.24.0-dev.6.7), which I think is fairly recent.
Based on the flutter run log it seems like something has errored - it's written a timestamp with no data (this normally happens because it writes the response then crashes/pauses before it gets flushed).
Can you try running flutter run --machine from the same folder (this is all Dart Code is doing) and then post the output here (it should look similar to the log you attached, but hopefully includes whatever line wasn't flushed correctly here). I'll also look at making sure these logs flush in future.
@JackAppDev excellent question. I don't have ready access to a 10.13 machine, but I'll try to get one set up ASAP.
Thank you for reporting this. If you haven't already, would you mind filing a bug in the Flutter repo issues with details (and CC me)?
Also worth checking if the issue isn't flutter/flutter#4326. There's a workaround until we've added a flutter doctor check for it.
EDIT (2017-08-31): got my hands on a 10.13 machine. Looks like ios-deploy is not yet successfully building on 10.13. Issue is ios-control/ios-deploy#308. I've opened a Flutter tracking bug at flutter/flutter#11875.
Waiting on homebrew to update the ios-deploy formula -- PR: Homebrew/homebrew-core#17660. Once that lands, we should be all set for iOS11 / Xcode 9 / macOS 10.13 High Sierra.
EDIT (2017-09-05): iOS-deploy is updated to 1.9.2 on homebrew now. Flutter should be good to go with iOS 11 / Xcode 9 / macOS 10.13 High Sierra.
@cbracken ios-deploy installs! Still have the black screen issue though :/ I’ll update this comment with the error later
Update: log is
Launching lib/main.dart on Jack's iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 8E8ZZ4K42D
Retrieving resting unlock: 0
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
refreshPreferences: HangTracerEnabled: 1
refreshPreferences: HangTracerDuration: 500
refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
Exited (sigterm)
Is this still an issue? Is there a related Flutter issue I can close this in favour of? If I understand correctly, it's no Dart Code specific, so nothing I can do to progress?
As far as I’m aware there are no Xcode 9, iOS 11, or macOS 10.13 issues remaining in Flutter on the master branch. The alpha branch hasn’t yet been rolled but we’re hoping to do that soon.
Activity
[-]Black screen when launching on mac[/-][+]Black screen when launching app on mac[/+]Skylled commentedon Jul 13, 2017
Just to be sure, the app works correctly from
flutter run?Can you paste the logs from the debug console and
flutter run -v?JackAppDev commentedon Jul 13, 2017
It launches fine with
flutter runhowever I get the black screen when trying to use vscode itselfSkylled commentedon Jul 13, 2017
Wow, iOS verbose logs are intense.
So, given that the error still occurs when Dart-Code isn't involved, I suggest bringing the problem to the main Flutter repo. Someone with more Mac/iOS experience should be able to help you.
JackAppDev commentedon Jul 13, 2017
no it only happens when using dart-code
DanTup commentedon Jul 13, 2017
@JackAppDev Could you try enabling the Observatory and FlutterRun logs (see here) and attaching them (after reviewing for no personal data).
I removed the super-verbose comment above; I don't think it's relevant atm (esp. if it works outside Dart Code) and was tedious scrolling here on mobile =)
DanTup commentedon Jul 13, 2017
@JackAppDev Also, can you post the version of the Dart SDK being used (it'll appear bottom right of the status bar in Dart Code), VS Code version and what device you're using (Android or iOS, emulator or physical)? Thanks!
DanTup commentedon Jul 13, 2017
Another thing to check -
Help -> Show Developer Tools; do any errors show up in the Chrome console?JackAppDev commentedon Jul 14, 2017
@DanTup
Observatory file wasn't created
run.txt
dart is the most up to date installed with homebrew
vs code version 1.14.0
flutter is 1.24.0-dev.6.7
using my physical iPhone
no errors in dev tools
DanTup commentedon Jul 14, 2017
@JackAppDev
Flutter actually includes its own version of the SDK which is what's used here (in this case 1.24.0-dev.6.7), which I think is fairly recent.
Based on the
flutter runlog it seems like something has errored - it's written a timestamp with no data (this normally happens because it writes the response then crashes/pauses before it gets flushed).Can you try running
flutter run --machinefrom the same folder (this is all Dart Code is doing) and then post the output here (it should look similar to the log you attached, but hopefully includes whatever line wasn't flushed correctly here). I'll also look at making sure these logs flush in future.33 remaining items
cbracken commentedon Aug 30, 2017
@JackAppDev excellent question. I don't have ready access to a 10.13 machine, but I'll try to get one set up ASAP.
Thank you for reporting this. If you haven't already, would you mind filing a bug in the Flutter repo issues with details (and CC me)?
Also worth checking if the issue isn't flutter/flutter#4326. There's a workaround until we've added a
flutter doctorcheck for it.EDIT (2017-08-31): got my hands on a 10.13 machine. Looks like
ios-deployis not yet successfully building on 10.13. Issue is ios-control/ios-deploy#308. I've opened a Flutter tracking bug at flutter/flutter#11875.cbracken commentedon Sep 5, 2017
Update: I've sent ios-control/ios-deploy#314, which resolves this issue and is now merged.
Waiting on homebrew to update the ios-deploy formula -- PR: Homebrew/homebrew-core#17660. Once that lands, we should be all set for iOS11 / Xcode 9 / macOS 10.13 High Sierra.
EDIT (2017-09-05): iOS-deploy is updated to 1.9.2 on homebrew now. Flutter should be good to go with iOS 11 / Xcode 9 / macOS 10.13 High Sierra.
cbracken commentedon Sep 5, 2017
@JackAppDev can you give a go now and let me know if any issues remain for you?
JackAppDev commentedon Sep 5, 2017
@cbracken thanks ill check it out
JackAppDev commentedon Sep 6, 2017
@cbracken ios-deploy installs! Still have the black screen issue though :/ I’ll update this comment with the error later
Update: log is
cbracken commentedon Sep 6, 2017
@JackAppDev Thanks! Couple questions:
flutter doctor?flutter run --verboseand add the logs here?JackAppDev commentedon Sep 6, 2017
@cbracken
DanTup commentedon Sep 30, 2017
Is this still an issue? Is there a related Flutter issue I can close this in favour of? If I understand correctly, it's no Dart Code specific, so nothing I can do to progress?
cbracken commentedon Sep 30, 2017
As far as I’m aware there are no Xcode 9, iOS 11, or macOS 10.13 issues remaining in Flutter on the master branch. The alpha branch hasn’t yet been rolled but we’re hoping to do that soon.
DanTup commentedon Sep 30, 2017
Ok, closing this then :-)