(For those who can afford it, I think it would still be a good idea to buy a licence from LiveCode to support further development. That way you also get an Apple Silicon native version of the program.)
I applied the patch directly to the machine code of the original application and did not bother to download and recompile the source code. If anyone wants to fix the bug in the source code, just drop me a line. I guess it should not be too difficult to find the corresponding places in the source code.
- Download LiveCode Community 9.6.3 and install it by copying it to your Applications folder.
- Open LiveCode from the Applications folder once to get Gatekeeper out of the way.
- Quit LiveCode again (on Sonoma, it will crash automatically for you )
- Download the attached zip file and unpack it.
- Put patch1.hex and patch2.hex on your desktop. One contains the fixes for the IDE itself, the other one ensures that the standalones you create work correctly.
- Open a terminal.
- Copy and paste the following command into your terminal and press the Return key:
You will have to enter your password (nothing will be displayed on the screen) and press Return again.
Code: Select all
sudo xxd -r ~/Desktop/patch1.hex /Applications/LiveCode\ Community\ 9.6.3.app/Contents/MacOS/LiveCode-Community
- Now copy and paste the command for the second patch into your terminal and press the Return key:
Code: Select all
sudo xxd -r ~/Desktop/patch2.hex /Applications/LiveCode\ Community\ 9.6.3.app/Contents/Tools/Runtime/Mac\ OS\ X/x86-64/Standalone.app/Contents/MacOS/Standalone-Community
- Now LiveCode is fixed (you can now delete the patch files), but it will not work because macOS will eventually notice that it has been modified. So we need to re-sign the modified application. Run these two commands in your terminal. Copy and paste one command at a time and press Return after each command:
If you don't have the necessary developer tools on your Mac, macOS should ask you at this point if you want to download them. Just click "Install". Wait until the installation has completed (this can take quite some time), then don't forget to run the above codesign command again before entering the second one.
Code: Select all
sudo codesign -f -s- --deep /Applications/LiveCode\ Community\ 9.6.3.app/Contents/Tools/Runtime/Mac\ OS\ X/x86-64/Standalone.app
Code: Select all
sudo codesign -f -s- --deep /Applications/LiveCode\ Community\ 9.6.3.app
- That's it! You're ready to go again.