One simple solution during development is to disable the app sandbox. Open the Platforms/MacCatalyst/Entitlements.plist
file and set the property below to false:
<key>com.apple.security.app-sandbox</key>
<false/>
See also: https://tonyedwardspz.co.uk/blog/maui-access-subfolders-from-mac-desktop/