Binary not running (anymore) on macOS #34

Closed
chdudek opened this Issue Dec 25, 2016 · 8 comments

Projects

None yet

5 participants

@chdudek
Contributor
chdudek commented Dec 25, 2016

I downloaded the app bundle and started it once without problems.
Now I can't open it anymore, I just get a process running at almost 100%. Starting the binary inside the package using the terminal gives no output.

Running from source works fine, self compiled binary works fine as well!

OS: macOS Sierra 10.12.2

@garddun
garddun commented Dec 25, 2016

I have the same problem. Louched it ones, and now it dosent work anymore. What to do?

@mhabegger

Same behaviour here.
Deleted the applications saved data however makes it start again :

rm -r "/Users/<username>/Library/Saved Application State/co.aeplay.citybound.savedState/"
@aeickhoff aeickhoff self-assigned this Dec 25, 2016
@chances
chances commented Dec 25, 2016

For easier copy-pasta:

rm -r "/Users/$USER/Library/Saved Application State/co.aeplay.citybound.savedState/"
@aeickhoff
Member

I'm new to .app bundling, anyone have an idea what could cause this? I don't know why it creates saved state...

@chances chances referenced this issue Dec 29, 2016
Closed

MacOS no window #66

@aeickhoff
Member

This is such a tough nut, so when Citybound is quit abnormally (force quit, logout, ...) it saves its window state into Saved Application State/co.aeplay.citybound.savedState/, as Cocoa apps apparently do by default, but then (this is my guess) when you launch it again, it can't deal with this restore information.

The problem is that all the cocoa code is hidden deep in the glutin dependency, so I can't just mark the window which is created as non-restorable that easily.

Doing more research...

@aeickhoff
Member
aeickhoff commented Jan 9, 2017 edited

@chdudek @chances @mhabegger Could you please try if the same still happens with this bundle:
citybound.app.zip

@chances
chances commented Jan 10, 2017

@aeickhoff Issue seems resolved on my end.

@aeickhoff
Member

Thank you!

@aeickhoff aeickhoff closed this Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment