Kodi on Sierra damaged statement

What do you do when you try to open Kodi for the first time and macOS comes back with “Kodi is damaged and cannot be opened. You should move it to the Trash.”?

Thanks for any help in advance…

Dan