See this article:

How to fix damaged app message on macOS Sierra

 

 


 

and here:

 

Fix “App is Damaged Can’t Be Opened” Error Messages in Mac OS X