Safari on my Mac won't open because "Safari cannot be opened because of a problem. Check with the developer"
Looks like you updated iTunes and this is the aftermath.

https://www.macrumors.com/2018/12/14/itunes-12-8-1-breaks-safari-on-osx-yosemite/

I hope this helps you