"It’s possible that you could construct your own tests that catch the most common issues."
This is exactly what I am looking for here. Are there test methodologies that we can follow to write tests for problems presented by hardened runtime, missing entitlements and code/artifacts not in the right folder for the app? We have a Developer ID certificate in our CI CD right at the time of shipping. Perhaps we can move that up as well. But we would like something to help our developers write "in-model" code with the right set of entitlements and other things.