I think I had the same problem bro,
1. go to apple system preferences (top left)
2. go to "security and privacy"
3. go to general
4. find in there "allowed apps downloaded from" and click the other option (App Store and identified developers)
lmk if it works