Skip to content

BUG: MACOS: resolve non-fatal 'failed to foreground app; open returned 1' error in build #325

@jesscmoore

Description

@jesscmoore

Describe the Bug

During macos successful builld get this red warning which looks like a fatal error however doesn't stop the build

flutter run --debug -d macos --flavor dev
Launching lib/main.dart on macOS in debug mode...
...
Building macOS application...
✓ Built build/macos/Build/Products/Debug-dev/notepod.app
2025-12-11 10:46:22.460 notepod[83627:100703271] Running with merged UI and platform thread. Experimental.
Failed to foreground app; open returned 1
Syncing files to device macOS...                                   216ms

Expected Behaviour

Expect not to see this red error like text.

Screenshots

[If applicable, add screenshots to help explain your problem.]

Context

Where has the issue been observed:

  • Android
  • Chrome
  • iOS
  • Linux
  • x ] macOS
  • Web
  • Windows

[Add any other context about the problem here.]

App Version: notepod 0.3.0+19
Flutter Version: Flutter 3.38.3 • channel stable

Closing Criteria

Checklist for closing the issue:

  • No errors from make prep
  • All tests pass make qtest
  • [Issue specific requirements.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions