BRAutoSetup quit unexpectedly - when adding the CUPS printer driver
During the installation of a new Brother printer on my Mac, I had an unpleasant alert window, that BRAutoSetup quit unexpectedly and was unable to add a printer in my network. Like these ones:
Solution 1:
The solution was to install the newest drivers from main apple website for the related printer manufacturer, although they should be already available in the MacOS, they weren't, so if you will encounter the same problem, give it a try.
Apple Support Download Page
I am posting here on SO just for the sake of others who will try to google it (as of now there's a lot of scam websites with "solution" or just ones that did not help me).
EDIT 2022
Since there was some errors and links were changed and are down now, make sure to go to Brother's website and download updated CUPS drivers from your device page. ie: hl1210w
Official Brother support page -> Choose language -> Product search -> Type in your product -> Downloads
Most should have updated drivers now (and pages have refreshed links) since new MacOs rollout.