question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Old flet client app versions do not launch on Mac

See original GitHub issue

Have repeatedly seen the following behavior on Mac:

  • I get this error when trying to launch a flet app in “local app mode”:

    The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000374d650 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

  • Web mode works normally.

  • When I check flet version, I see that there is a new version available.

  • After upgrading to latest version, app launches normally.

While this is in a way great, as it keeps me motivated to quickly upgrade to the latest version, it is not good for stable application use.

Speculation: Mac only considers the latest flet Flutter client app valid.

Would be great if anyone else using a Mac could verify this behavior.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:31 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
FeodorFitsnercommented, Oct 19, 2022

Thanks for the update!

I don’t know if it’s going to be permanent, but the solution would be moving Flet executables out of $TMPDIR, say to $HOME and see how it goes. I feel like it should fix the issue.

0reactions
FeodorFitsnercommented, Nov 16, 2022

It’s related problem I guess though errors are always different and cryptic in all cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If you can't open an app on Mac - Apple Support
If you recently installed a new version of macOS, some apps may need to be updated or reinstalled. See Install and uninstall apps...
Read more >
If an app on your Mac stops responding, closes unexpectedly ...
Quit the app, then open it again. If the app won't quit, force the app to quit. Then check to see if the...
Read more >
Prevent apps and windows from reopening on Mac
Press and hold the Shift key while opening the app. This doesn't change any settings, but the app forgets any windows that were...
Read more >
Safely open apps on your Mac - Apple Support
If you see this warning, it means that the app was not notarized, and Apple could not scan the app for known malicious...
Read more >
macOS version history - Wikipedia
The history of macOS, Apple's current Mac operating system formerly named Mac OS X until 2011 and then OS X until 2016, began...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found