Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: deprecated warnings at runtime: setAllowedFileTypes #71

Open
kevinchua6 opened this issue Aug 9, 2022 · 1 comment
Open

MacOS: deprecated warnings at runtime: setAllowedFileTypes #71

kevinchua6 opened this issue Aug 9, 2022 · 1 comment

Comments

@kevinchua6
Copy link

image

# github.com/sqweek/dialog/cocoa
dlg.m:96:10: warning: 'setAllowedFileTypes:' is deprecated: first deprecated in macOS 12.0 - Use -allowedContentTypes instead [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: property 'allowedFileTypes' is declared deprecated here
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: 'setAllowedFileTypes:' has been explicitly marked deprecated here

@daryl-williams
Copy link

daryl-williams commented Feb 25, 2023

I have started getting this error and have no idea what it means. Any help would be greatly appreciated. If I can supply any more information please let me know. I am running MacOS 13.2.1 (22D68) on an M1 MacBook Air. My app backend is written in Golang and uses the Wails framework.

Thanks,
Daryl

@sqweek sqweek changed the title MacOS: deprecated warnings when starting the app with dialog package MacOS: deprecated warnings at runtime: setAllowedFileTypes Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants