Closed WizardOfCodez closed 4 years ago
You can try building the -d flag, which shows some debugging output in a terminal.
@brandonwkipp thanks for the tip. Problem is: building and packaging runs through without any errors. It is just that the .app file starts and crashes immediately. The linux executable on the other hand works without any problems.
Also: If I "show package contents" and execute the executable under /MacOS the app also runs.
Sorry you're experiencing this. Could you let us know what version of MacOS it is please?
Hi @leaanthony, I'm running on Catalina (10.15.6) - I can also give you access to the repo if you want to replicate the issue.
Cheers!
We figured it out by ourselves. Error was because of usage of a wrong and relative path to our file storage. App crashed because of write-protected folder.
Thanks so much for letting us know about this! What steps did you take to debug this? I'd love to capture this information for the website.
On mac you can debug an .app package by running it through the terminal like this:
open yourapp.app
- then you will get some error messages.
Description
We were successfully able to normally build our app under MacOS Catalina. If we choose the -p flag process runs through but app starts and crashes instantly. It also seems that the problem only occurs in our project - initial project is fine. Is there any way to debug this?
System Details