Squirrel.Mac
Squirrel.Mac copied to clipboard
Move shipit executable out of Resources, codesign it separately
Originally mentioned by @keithduncan in #1:
You should sign every executable in your product, including applications, tools, hidden helper tools, utilities and so forth. Signing an application bundle covers its resources, but not its subcomponents such as tools and sub-bundles. Each of these must be signed independently.
If you sign a bundle container such as a .app and that signature includes it’s subcomponents such as .framework bundles or single file utilities, subsequently signing those subcomponents will change their contents and invalidate the signature of the parent component that included them in it’s signature.
quote is from Apple docs Code Signing Guide > Code Signing Tasks
shipit
will be an XPC service after #18, but we'll still need to codesign it.