You need to bypass the warning message and opening anyway through security settings.
Go to System Preferences -> Secutiry & Privacy -> "Open Anway" -> (Type in password)