"usb device was drawing too much power" error message
If you plug your iPhone with your keyboard the total power requested by you keyboard (i.e. iphone + keyboard) is too high for the usb to handle. I suggest you plug your iphone directly to your iMac.