I was able to solve it. Turns out that my app's executable is a "Unix Executable File" but it's treated as an .App because it's name is "MyApp.Test.App". Everything works fine after removing periods from the name.
Post
Replies
Boosts
Views
Activity
Unfortunately, that's the only info provided by syspolicy_check.
[quote='825015022, DTS Engineer, /thread/774247?answerId=825015022#825015022']
What are the symptoms of that? Is the app blocked by Gatekeeper, resulting in the alert described by the Gatekeeper Basics section of Resolving Trusted Execution Problems? Or does the app start to run and then crash?
[/quote]
It gets instantly killed. When trying to run it from the terminal, the only info i get is "killed".
There are no messages when double-clicking in Finder. It looks like something's happening in the Dock for about 0.1s. (like it's starting to make space for a new icon) but that's it.
[quote='824927022, DTS Engineer, /thread/774247?answerId=824927022#824927022']
In your case, you should install the package and then run syspolicy_check against the resulting app.
[/quote]
App has failed one or more pre-distribution checks.
Notary Ticket Missing
File: app/MyApp.App
Severity: Fatal
Full Error: A Notarization ticket is not stapled to this application.
Type: Distribution Error
Result of "syspolicy_check distribution":
App has failed one or more pre-distribution checks.
Codesign Error
File:
/Users/user/Documents/MyApp.pkg
Severity: Fatal
Full Error: File is not signed at all.
Type: Notary Error
Notary Ticket Missing
File:
/Users/user/Documents/MyApp.pkg
Severity: Fatal
Full Error: A Notarization ticket is not stapled to this application.
Type: Distribution Error
Seems odd as "pkgutil --check-signature" shows that the installer is both signed and notarized.