32blit-sdk icon indicating copy to clipboard operation
32blit-sdk copied to clipboard

macOS: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))

Open Gadgetoid opened this issue 11 months ago • 6 comments

Because I will probably forget how to fix this as fast as I can blink...

(I don't know how to fix it yet)

Gadgetoid avatar Jan 31 '25 18:01 Gadgetoid

Need to (re-)sign the app with something like codesign --force --deep -s [cert id] blit-kart-0.1.1-Darwin/bin/Super\ Blit\ Kart.app

That is, after doing all the xcode stuff to get a working certificate... (Which I can't remember, just that it didn't work the way it was supposed to)

Daft-Freak avatar Jan 31 '25 19:01 Daft-Freak

That sounds vaguely familiar! I think I jumped through those hoops before and then promptly erased it from memory.

Edit: Well I did absolutely nothing and today apps are just working 🤦

Edit2: Okay it's the installed binaries that fail, the originals in the build tree work fine.

Gadgetoid avatar Feb 01 '25 20:02 Gadgetoid

Hmmm as an aside opening Launcher.app and pressing right immediately segfaults šŸ˜†

Gadgetoid avatar Feb 01 '25 20:02 Gadgetoid

Edit2: Okay it's the installed binaries that fail, the originals in the build tree work fine.

Think it's the dependency fixups invalidating any existing signatures. (I'm not sure if the executable itself even has one, or if it does where it's getting it from...)

Hmmm as an aside opening Launcher.app and pressing right immediately segfaults šŸ˜†

Probably SDL having nullptr for all the launcher-related API. (I feel like I have patches for that...somewhere?)

Daft-Freak avatar Feb 02 '25 11:02 Daft-Freak

Probably SDL having nullptr for all the launcher-related API. (I feel like I have patches for that...somewhere?)

I’m sure I remember something along these lines too! 🤣

Gadgetoid avatar Feb 02 '25 20:02 Gadgetoid

Hah, https://github.com/Daft-Freak/32blit-beta/tree/sdl-launch

(This has very little to do with the original issue, but I had to go find it...)

Daft-Freak avatar Feb 05 '25 16:02 Daft-Freak