According to Apple's documentation on "What to Code Sign", shell scripts are not 'code', and are therefore a resource. It goes on to say about shell scripts "While it's possible to sign such executables and store them in Contents/MacOS, this is not recommended."
My question is, what should I do if my app's main executable IS a shell script? I tried putting my script into /Resources and added a symlink in MacOS, but I got the main executable or Info.plist must be a regular file (no symlinks, etc.) Do I need to do something drastic like port the entire shell script to C?