I have a MacOS Xcode project, which builds 2 C++ command line applications, which I intend to distribute in an .app/dmg bundle. I have a developer license, and Xcode correctly signs both applications. The two applications are A, which is very complex, and B, which is just a few lines of C++ code without much dependencies.
When I copy/move B to another folder it retains it’s signing info. However when I copy/move A the signature becomes invalid, the software that I use tells me that it has a signing issue, without many details. Googling around I couldn’t explain why this would happen. I suspect it has to do something with linking to other libraries.
I use the thirdparty software “WhatsYourSign” to determine signing info.