Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity game compiled in Windows doesn’t open in Mac

I created an Unity game in Windows and I wanted to pass it to a Mac computer. I built it for Mac and I uploaded the .app folder to Google Drive as a .rar. Then, I downloaded it in a Mac and I unzipped it. When I try to open it, it shows the error message “Someapp.app can’t be opened”. It doesn’t explain why. I think the problem isn’t from Unity because the log file is empty after the error. Can anyone help me?

like image 324
Anyone Avatar asked Nov 16 '25 11:11

Anyone


1 Answers

I needed to make the actual executable in the .app folder, well, “executable”. Please try:

Open up a Terminal and navigate to your app folder:

cd <PATH_TO_YOUR_APP>/<APP_NAME>.app/Contents/MacOS/

This folder contains the actual executable file which Windows apparently didn’t make executable. Let’s add the executable flag:

chmod +x <APP_NAME>

Afterwards I could start the app.

like image 116
vollstock Avatar answered Nov 18 '25 00:11

vollstock



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!