SebLague / Geographical-Adventures

https://sebastian.itch.io/geographical-adventures
MIT License
3.37k stars 486 forks source link

Incompatible with macOS with Apple Silicon #125

Open YouTube-101 opened 7 months ago

YouTube-101 commented 7 months ago

The application downloaded from the official itch.io page causes the operating system to throw an "This application can't be opened" error at startup. So, to "fix" my issue, I downloaded the source zip file. I downloaded the latest and nearest version of the Unity editor and compiled the code to a build that supports Apple Silicon and Intel Macs, and the game worked perfectly fine.

I could give you the app file that supports both, or you could download an Apple Silicon-supported Unity editor and compile your build so you can edit the itch.io page so that people with Apple Silicon Macs don't flood the comments and its GitHub issues page (probably like what I'm doing right now as a suggestion.)

Thanks, and I am looking forward to your response.

yj000018 commented 4 months ago

Yes, please update the file!

realBravo commented 2 months ago

How did you compile the code? What steps did you take? Could you provide screenschots.

YouTube-101 commented 2 months ago

I compiled the game in Unity Editor version 2021.3.32f1 and I do suggest you to use this version to compile the game. But, you may use newer versions.

Screenshot 2024-05-01 at 18 56 30

Go to the Unity Hub, install a Unity Editor. MAKE SURE IT'S COMPATIBLE WITH APPLE SILICON. (DO NOT INSTALL THE INTEL VERSION)

Screenshot 2024-05-01 at 18 53 51

Go ahead and download the source code as .ZIP from this github repo.

Screenshot 2024-05-01 at 18 55 22

Tap the "add" button in your projects tab (Add project from disk)

Screenshot 2024-05-01 at 19 04 01

Then, open the added project in Unity. In there you can take a look at the game's source code and change whatever you want.

To compile the game, Just go to "File > Build Settings..."

This window will show up, Make sure target platform and the architecture is the same as this picture. And press build!

Screenshot 2024-05-01 at 19 08 23

Choose the location of the application you'd like to compile and once the build finishes, you'll have the compatible game on your computer.

Screenshot 2024-05-01 at 19 09 13

If you have any questions, please reply here.