Error when trying to run build on another computer ("OSStatus error -67028")

macOS 10.12.6.
I compiled my app (in debug mode) (in AppCode) and then sent myself the app to another mac (macOS 10.13.3). When I try to run it on this mac, I get the following error:

The operation couldn’t be completed. (OSStatus error -67028.)

Does anyone know why?