fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.12k stars 283 forks source link

unable to read external files on macos #827

Closed clsx524 closed 1 year ago

clsx524 commented 1 year ago

Similar to this issue, I am trying to read a local yaml file in rust, i put the file in native_config directory under my project top directory. it works fine on linux however it complains not able to find the file on MacOS. I have tried the following but none of them work.

Is there any guidance to read external files on MacOS?

fzyzcjy commented 1 year ago

IMHO this is a rust problem instead of flutter_rust_bridge problem. Anyway, looks like it is a macos "sandbox" problem?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.