Open BananaNeil opened 3 years ago
Hi @BananaNeil Thanks for filing the issue, no issue when running your project on Intel-based macOS 11.2.3
Tagging @markusaksli-nc for M1 testing
No issue on M1 Mac Mini using Big Sur 11.2.3 either. Cloned and ran perfectly fine.
I updated my flutter version to match @markusaksli-nc - but still seeing the same issue! I'm running it on a macbook air, but I don't expect that difference would cause this issue, right?
Hi @BananaNeil I am not sure but tried again on M1, no crash
/cc @cbracken
I get the feeling that this has something to do with bluetooth permissions on my internal system. Maybe the first time I went through the permissions flow, I denied (or something like that). Maybe it would be worth testing on a new user profile on my mac.
If you get the chance to run the (debug build) app under the debugger in Xcode (or lldb on the command line) and are able to capture a stack trace (bt
in lldb), would you mind adding it to this bug report? That would help a ton in figuring out what might be causing the issue.
Might be related https://github.com/flutter/flutter/issues/96369
The triaged-desktop
label is irrelevant if there is no team-desktop
label or fyi-desktop
label.
Steps to Reproduce
Right now, I'm running flutter 2.1.0-12.1.pre from the dev channel, but I've seen this issue on the stable and master channels. I only started seeing this issue after upgrading my computer to OSX 11.2.3
(I'm on a new mac with the M1 chip, but running with rosetta, maybe that's related?)
Clone FlutterBlue from here: https://github.com/pauldemarco/flutter_blue and run the example app with macos:
Expected results:
Flutter Blue example application launches correctly
Actual results:
OSX launches an error window saying "example app quit unexpectedly" and I see these results in the console:
You can remove this error by opening macos/Runner.xcworkspace clicking Runner -> Signing & Capabilities, unchecking
bluetooth
and running again.But more importantly, this error does not happen on OSX version 10.15.7 running the exact same version of flutter (I just checked on another computer)