Closed technolion closed 3 years ago
I just tested on latest Flutter channel master, 2.1.0-13.0.pre.104 where I can still reproduce the problem.
Since Flutter for macOS has been declared Beta, I'd consider this problem a major one. Could you please take a look at it, @stuartmorgan ?
@technolion most likely your app just misses the com.apple.security.files.user-selected.read-only entitlement.
Unfortunately the error message which would have helped you find the cause is only shown when running the project from Xcode:
[OpenSavePanels] ERROR: Unable to display open panel: your app is missing the User Selected File Read app sandbox entitlement. Please ensure that your app's target capabilities include the proper entitlements.
Thank you @cbenhagen ! That did the trick. Sorry @stuartmorgan for making a fuss...
Describe the bug The macOS implementation of the file_selector does not show, when being called. There is no error. The native macOS implementation seems to be called, but it does not show the picker and it never returns. This worked before and has stopped working just recently, possibly after a macOS operating system upgrade.
Versions
Example code
Doctor Output Please provide the output of
flutter doctor -v
: