Look at --timestamp in codesign here:
https://developer.apple.com/legacy/library/documentation/Dar...By default, this is currently enabled, as noted here: https://stackoverflow.com/questions/11712322/error-the-times...
You have to go out of your way when signing an app on macOS to disable timestamping in current OS versions.