In latest macOS Catalina beta, this issue will occur for firefox user when opening for the first time after upgrading.
The workaround:
- Disable the assessment subsystem altogether temporarily by running
sudo spctl --master-disable
on your terminal. - Open Firefox and close it.
- Then enable again the assessment subsystem by running
sudo spctl --master-enable
. - Then open Firefox, hope it will solve