I recently inherited a project to port an app bundle to arm64, and some of the design decisions in the app bundle are undocumented. I'd like to structure the bundle as canonically as possible, to minimize future problems as much as possible.
In particular, there are two areas where I would like some clarification. I have read all of eskimo's guides (what a godsend!), but have not been able to find an explanation for these yet.
-
We have some helper executables that allow us to run jobs in the background, etc... Historically, these have always been in
Contents/Resources
, for some reason; that seems to be a bad idea. I have seen conflicting advice suggesting to useHelpers
or justMacOS
. What are the advantages or disadvantages of using each folder? Would dumping all the executables inMacOS
be an adequate solution and, if not, why should I useHelpers
? -
Our app contains "compiled extensions" in
Contents/SharedSupport
, which consist of small intel-based apps (with their own app bundle) that our app can interact with. They are supposed to be a demo of extensions that the users could code and compile themselves, thus justifying their location. Should these be signed in any special way? Our app used to employ the--deep
flag for code signing, but following eskimo's guidelines I have removed that, and it is not clear to me how these should be signed.
Thank you.