SebLague / Digital-Logic-Sim

https://sebastian.itch.io/digital-logic-sim
Other
3.54k stars 431 forks source link

Can't open app on Macbook Pro M2 #206

Open Marseel-E opened 10 months ago

Marseel-E commented 10 months ago

Downloaded from itch.io, unzipped, tried to open, and I get this. Screenshot 2024-01-05 at 22 22 18

Rid1-Ali commented 10 months ago

https://github.com/SebLague/Digital-Logic-Sim/issues/131#issuecomment-1407669424

then do cmd+right click, then open.

Marseel-E commented 10 months ago

#131 (comment)

then do cmd+right click, then open.

Still doesn't fix it.

StanislawBorowy commented 9 months ago

The same issue is on MBP 14' with M2 Max. cmd+right click doesn't fix the issue...

When trying to open it from the console I am getting this message:

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

OK! I managed to start the app if you're still interested @Marseel-E ...

Here is my workaround (until a real fix is implemented):

  1. Open console.
  2. Go to the folder where the app is, for example cd /Applications.
  3. Go inside the app content to where the executable is: cd Digital\ Logic\ Sim.app/Contents/MacOS/.
  4. Change its permissions - I'm setting rwxr-xr-x, but you can try others if that works for you: chmod 755 Digital\ Logic\ Sim.

Be aware that this is just a workaround and valid permission should be set when the app package is prepared... I also have no idea if 755 is the right set of permissions for macOS apps - sorry, that is not my cup of tea, but this works on my machine 👍

Here is the post that helped me prepare this workaround: https://developer.apple.com/forums/thread/697838?answerId=702610022#702610022 .

Raphdf201 commented 6 months ago

Just use the itch.io app