Mac Platform API Support #10334
Replies: 3 comments 1 reply
-
i google find this https://stackoverflow.com/questions/72751200/nssavepanel-for-mac-catalyst |
Beta Was this translation helpful? Give feedback.
-
It seems its possible to include AppKit using this library: https://github.com/mhdhejazi/Dynamic It would be necessary to create a binding for this. In Visual Studio 2022 you have the option for creating a binding from objective-c but this library is built in Swift, not sure exactly how that works. |
Beta Was this translation helpful? Give feedback.
-
When attempting to build a project referencing a Mac Catalyst binding project built around objective-c code i get the following error: maui /usr/local/share/dotnet/packs/Microsoft.MacCatalyst.Sdk/15.4.2372/targets/Xamarin.Shared.Sdk.targets(3,3): Error: clang++ exited with code 1: ld: building for Mac Catalyst, but linking in dylib built for macOS, file dylib for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) (test) I've tried using a .framework built for multiplatform and for ios i get a similar error. This seems to be bug. |
Beta Was this translation helpful? Give feedback.
-
The app I'm working on needs to be able to save files to a specific folder on a user's device. We've been using Cocoa through VS to access the NSSavePanel class and the security bookmark functionality. Does support for file system access on Mac devices exist in MAUI/ will it be supported down the line? If not, are there any workarounds that you suggest?
Beta Was this translation helpful? Give feedback.
All reactions