I have the same problem but I circumvented it by NOT pairing my Dualshock 3 controller over bluetooth.
The other way to pair is by using a Mini USB cable that you use to charge your controller.
Here are the steps I follow:
1. Turn bluetooth OFF on your macbook.
2. Also, make sure that your controller is OFF and not flashing any LED lights at all.
3. Now connect the DS3 controller via the Mini USB cable to your macbook. The 4 LED lights will begin flashing slowly. This just means your DS3 is in charging mode at the moment.
4. Now turn the bluetooth ON on your macbook.
5. Now press the PS button on your controller for 2 to 3 seconds.
6. Disconnect the USB cable from the macbook.
7. Take a look at the Bluetooth icon in the menu bar. It should now show your DS3 as connected.
However, note 2 important things:
1. Your Playstation 3 controller will ONLY be listed in the Bluetooth menu bar icon's menu. It will not be listed under connected devices in your Bluetooth preferences window.
2. There won't be any led in ON state on your controller as you are used to when you use it with your PS3. But your controller will be in fact connected and stay connected.
The only bummer 😟 is that you have to repeat the above process every time you want to use your controller until Apple finally fixes their **** pairing code.