The main problem was the fact that I was using an outdated executable loader script. The newer macOS were happy when I converted everything to entries in the Info.plists, and called the program from there, instead of using a script.
Topic:
App & System Services
SubTopic:
Core OS
Tags: