Signed on 10.11.5 command-line application doesn't pass the verification just after signing - spctl gives me an "obsolete resource envelope" error. So it doesn't run.
I sign with the command:
codesign -fs "Developer ID Application: MyCompany" path/to/cmd_app
On 10.11.1 and 10.10 (only we have) - GateKeeper allows to start it and application works properly.
Are any new parameters or rules to codesign command line applications for running on 10.11.5?