-
Notifications
You must be signed in to change notification settings - Fork 86
MacOS deprecation warnings: setAllowedFileTypes #64
Copy link
Copy link
Open
Labels
osxspecific to the OSX implementationspecific to the OSX implementation
Description
Hello,
While building app on macos I get warnings specified below:
# github.com/sqweek/dialog/cocoa dlg.m:96:10: warning: 'setAllowedFileTypes:' is deprecated: first deprecated in macOS 12.0 - Use -allowedContentTypes instead [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: property 'allowedFileTypes' is declared deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: 'setAllowedFileTypes:' has been explicitly marked deprecated here
App builds itself, however it doesn't work properly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
osxspecific to the OSX implementationspecific to the OSX implementation