Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code signing Mac exports from Windows doesn't work #68744

Closed
Miziziziz opened this issue Nov 16, 2022 · 4 comments
Closed

Code signing Mac exports from Windows doesn't work #68744

Miziziziz opened this issue Nov 16, 2022 · 4 comments
Labels

Comments

@Miziziziz
Copy link

Godot version

3.5.1

System information

Windows 10

Issue description

If I export my game on Windows 10 for mac, then try to run it on a macbook it will immediately crash and give an error report with: EXC_CRASH (SIGKILL (Code Signature Invalid))

Steps to reproduce

Make a game, export for Mac from a Windows PC
Run the game on an up-to-date macbook

Minimal reproduction project

No response

@bruvzg
Copy link
Member

bruvzg commented Nov 16, 2022

If I export my game on Windows 10 for mac

Using ad-hoc signature or a real one with rcodesign?

@Miziziziz
Copy link
Author

Miziziziz commented Nov 16, 2022

If I export my game on Windows 10 for mac

Using ad-hoc signature or a real one with rcodesign?

ad-hoc
Or I think so at least. I only get the 'ad-hoc' warning if I export on mac, not when I export on windows

@bruvzg
Copy link
Member

bruvzg commented Nov 17, 2022

Ad-hoc signature seems to be working correctly. To check signature, you can use codesign -vvvv ./your_app.app command.

Please note that due to the nature of ad-hoc signing, it won't run until you have allowed it to run:

The only reason ad-hoc exist, M1/M2 macs require executables to be signed to run, but it's not a substitute for the real signature/notarization.

When you are exporting and running on the same mac, the quarantine flag is not set, so it will run (but will have the same issues if it's moved to another mac).

If you want to it to run without any issues on any mac you have to use real signature and notarize it, there are no other options.

@Miziziziz
Copy link
Author

Hey just checked, and fixing the run path on steam to point at the bundle instead of the executable as you mentioned in #68745 seems to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants