You cannot stop Mac security to scan your application, though you can go through the above solution to install your app successfully on your Mac.