incrediblezayed / file_saver

A simple flutter plugin for saving files in all platforms
https://pub.dev/packages/file_saver
BSD 3-Clause "New" or "Revised" License
76 stars 92 forks source link

macOS, insufficient permission #104

Open alexdess opened 4 months ago

alexdess commented 4 months ago

Hello,

Adding the following 2 lines to DebugProfile.entitlements didn't work in my case:

<key>com.apple.security.files.downloads.read-write</key>
<true/>

However, it worked by putting them in the RunnerDebug.entitlements file.

Is the documentation referencing the wrong file? Or has Flutter/Macos changed something?

More generally, does anyone know the difference between these 2 files?

I'm writing this post hoping to save others some trouble.

Used versions

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.2.1 23C71 darwin-arm64, locale fr-CH)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (2 available)
[✓] Network resources
incrediblezayed commented 1 month ago

I'll update the same in the docs, thank you so much, also will research & find the difference, thanks a bunch