flet: Old flet client app versions do not launch on Mac
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.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 31 (20 by maintainers)
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.