Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fix for MacOS builds

A topic by amokan created Mar 10, 2023 Views: 311 Replies: 2
Viewing posts 1 to 2

Assuming you copy the app file to your `/Applications` directory, you can open a terminal and run the following:
`chmod a+x /Applications/Digital\ Logic\ Sim.app/Contents/MacOS/*`. If you have installed the app someplace else, just adjust the path.

This fixes the permissions on the binary, which are likely messed up from zipping the file (zip files do not retain file permissions). Tar files do, so maybe that is a better approach going forward.

(1 edit)

It's still crashing for me, although it might be because i have a High Sierra.

Edit: Terminal is saying that the command you put is wrong? I'm not sure if it's because of my mac being a High Sierra, or the command was wrong...

Hard to say why. I do not have any machines running High Sierra, but that command is a very generic (non-macOS specific) command that should work on any version of macOS (and Linux, but Linux doesn't use *.app files). It is just setting the actual program to be 'executable' since the zip file messes that up.

Some things to try:

- Drop the `a` and do a `chmod +x /Applications/Digital\ Logic\ Sim.app/Contents/MacOS/*`
- Validate your path by doing a `ls /Applications/Digital\ Logic\ Sim.app/Contents` and seeing if that returns a "No such file or directory" (which would indicate your app is not living in your applications folder. you can adjust the path of the command to match wherever yours may be)

One final note is that you should not be including the backticks ( this thing -> ` ) in the command. Not insinuating you are, but just being safe :)