0 votes

I'm trying to export a game for macOs using standard export template of Godot. It results in a .zip file which contains an .app folder. But when I share it with my friend (who has macOs) to test it isn't working. It shows that,
"XYZ Game" is damaged and can't be open. You should move it to the trash.
Screenshot of the error message.

Now what can I do to fix this. Windows and web exports are working fine. Do I need a MacOs to export the game for macOs?

Godot version 3.4
in Engine by (18 points)

Should work. Just google for the error "is damaged and can't be open macos" .

There should be a cli tool called "xattr" for macos to remove attributes from the .app file.

Thanks @juppi . But is there any other options so that it doesn't happen on the client's computer?
'cause I can't tell a client that if you want to play the game, you need to download this tool.

I dont believe you can do that. Apple has proprietary exporting libraries which cannot be added legally to windows or Linux. Apple wants people to buy a mac if they want to export to a mac. Not a godot thing you will find thats the case on all game engines. Thats a major part of the reason there arent all that many games released for MacOS

1 Answer

0 votes

This is expected, as your app needs to be signed and notarized to avoid those warnings on macOS. The notarization step in particular can only be run from a macOS machine, so you will need access to a Mac somehow to initiate the process.

by (11,899 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.