Tutorials - Mac Exporting
This comes up sometimes so I figured I would cover it. However, as you can notice by scanning the page, it is short and sweet. When exporting for OSX, there are a few minor modifications you must make to the app's ZIP file.
App Icon
There is, by default, a Godot Engine icon already inside the {your game}.app/Contents/Resources folder. You will most likely want to replace it with a fancy version of your game's icon. All you have to do is export your icon and save it as icon.icns then replace it in the same folder; overwriting the original.
You should be able to create it online or with a Photoshop plug-in. Unfortunately I don't have any great resources or links for this at the time of writing, but a quick DuckDuckGo search should sort you out.
Steamworks Components
Second, you need to add the following to the {your game}.app/Contents/MacOS folder:
- libsteam_api.dylib
- steam_appid.txt
The libsteam_api.dylib should be in the redistributable_bin/osx folder inside the Steamworks SDK. Make sure it matches the Steamworks API version you are using to compile the editor/template or it will crash.
Alternatively, if you are using the pre-compiled one from GodotSteam's Github release section, you can thank SapphireMH for already including this file for you!
The steam_appid.txt file should contain your game's Steam App ID. As per usual, this file is only required if you are running the game outside of the Steam client. So if this is the app zip you are shipping, then feel free to leave it out. The file is only needed for external testing.
And that's about that for Mac exporting.