Skip to content

macOS Sonoma app always logs "WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application." #150062

@jmagman

Description

@jmagman

Running app always shows "Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:."

flutter run -d macos
...
Building macOS application...
✓ Built build/macos/Build/Products/Debug/test_create.app
Syncing files to device macOS...                                    39ms
...
The Flutter DevTools debugger and profiler on macOS is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:55998/3j3JH_UMKmA=/
2024-06-11 12:50:54.702 test_create[25161:2066612] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions