itch.io is community of indie game creators and players

Devlogs

Bundling MacOS

Shark! Shark!
A downloadable game for Windows, macOS, Linux, and Android

When creating the MacOS build, originally, I submitted the program "SharkShark" and the framework files. But the program and the framework files all had to be approved in the Privacy & Security section of a MacOS user's settings. So this is how I bundled the game into a proper app file, code signed and placed that into a dmg for distribution:

Generate a Developer ID Certificate in Apple's dev portal and install it (double click on it) as "system" on your computer.
 - How to generate it

When signing you need to get an App Password, don't use your account password.
 - How to do that

Build.sh and Sign.sh files: https://gist.github.com/erfg12/f475d4593c4ef6f0aa10eed5f66a0cff
- Use chmod +x on the sh files.

The SDL game should now have a .app file that's signed and a dmg for distribution.

Files

  • SharkShark MacOS.dmg 7 MB
    4 days ago
Download Shark! Shark!
Leave a comment