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
Upgrade SDL for Mac to latest, prepare for notarization #17329
Conversation
cfd68e8
to
aef009e
Compare
This works when just building and running directly, but if I try to package it up, the binary is not runnable, it claims to be incomplete. It seems my macbundle.sh shenanigans are not able to change the dependency to the copy of SDL2.framework that we copy into the app directory. I don't understand how you're supposed to do this :( but install_name_tool seems to be the key. https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle https://developer.apple.com/forums/thread/128166 install_name_tool example: |
OK this is fun, I'm now in a situation where:
All looking good, then:
Like WTF, the codesign utility is happy with it, but not the notarization... Also:
It seems "Unnotarized Developer ID" is a red herring (misformulated message) because developer IDs are not notarized. |
This removes the option to use system SDL, which seems like a trap. Also simplifies the macbundle.sh script accordingly. Buildfix Buildfix fix Moar buildfix
ccb3fff
to
b125040
Compare
Alright, I've managed to fix the signing process, now everything works! It turns out that copying Mac bundles using |
When we do real releases, we override this signing anyway.
Decided not to rename PPSSPPSDL to PPSSPP for now, too big risk of breakage for other platforms and buildbots etc. |
09f7338
to
6332e61
Compare
This removes the option to use system SDL and enforces use of the bundled one, which simplifies things.
Simplifies the macbundle.sh script accordingly.
I tried a number of different instructions I found around the web, but this is the only way I could get it working.
If there's a better way, I'm all ears.
This is needed for #17327 , and also, will allow us to support smooth mouse scrolling properly on Mac too.
This also prepares for signing & notarization (which is done by separate scripts, not included here), and a Mac gold build