When connecting the Edge 25 to my Mac through USB it locks up.

When connecting the Edge 25 to my Mac through USB it locks up. Display freezes. Seems to be charging and works once disconnected and switched on/off. Any idea? Thanks