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.
Topic:
Code Signing
SubTopic:
General
Tags: