I don't know if this will work for you but, you should try going to "System Preferences", there you'll find "Security & Privacy" inside Security & Privacy you'll see: General/FileVault/Firewall/Privacy, click "General", inside you can see the text: "Allow apps downloaded from:" choose "App store and identified developers"
So, summary: System Preferences > Security & Privacy > General > "Allow apps downloaded from: App store and identified developers"
Some apps, even after following these steps will close, when that happens:
System Preferences > Security & Privacy > General, you will find a message from the system that says: "(App) is from an unidentified developer. Are you sure you want to open it?", of course you choose "Open" and the app will launch.
Hope this could help.