starter-pack
starter-pack copied to clipboard
App bundle needs to be code signed
Before releasing, the app bundle should be code signed so that it doesn't throw up a Gatekeeper prompt.
This turned out to be a bit tricky.
-
The SDL framework in DF contains a lot of garbage that has to be removed. Basically any file in .framework/ or .framework/Versions/A that starts with
.
has to be deleted. It's not a bad idea to also get rid of the dead symlinks. -
The PyLNP bundle cannot be signed because of some data files in the MacOS/ directory. Unfortunately, this is probably going to be difficult to fix, and may require changes to Tcl and Tk. (The python header files can almost certainly just be deleted.)
-
Bundles have to be signed from the inside out.
-
Hundreds of files are inexplicably marked executable and that needs to be taken away.
(2) is resolved by rebuilding PyLNP on my system, rather than using the official release. However this will probably push the required version of macOS to 10.13... or maybe not:
Load command 8
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.8
sdk 10.8