iPhone 7 won't charge from my MacBook Pro My iPhone 7 which I recently bought doesn't charge with my MacBook Pro Retina 2015. It always shows for one second that it recharges but then something like lost connection and then again. and goes on and on, both ports...

Strange thing is that my girlfriend's 6S charges in the same computer flawlessly.


I have tried 5 different cables and bought 1 new one. Same result
In my girlfriends Macbook air it recharges fine, also in other computers it recharges fine...
The iPhone recharges okay from within the AC Charger
I reseted PRAM and SMC, still the same result
Other accessories work fine (Recharging camera, USB port for dock in display)


macOS Sierra, iOS 11 Golden master beta, got Xcode 9 beta installed alongside Xcode 8.

Other thing I thought about is that it could be the Xcode messing around with the USB Port. But I uninstalled it with no luck.

Q: How can I make my iPhone charge (again) using my MacBook Pro?
Running this in terminal worked for me: (it will ask for your user's password)

sudo killall -STOP -c usbd


This pauses the troublesome process instead of killing it altogether like other answers suggest. The difference is that macOS won't try to reopen it automatically and cause the issue again.

Running sudo killall -CONT usbd will resume the process, should anything require it.

Tested on: iPhone 7 (iOS 11) + MacBook Pro Late 2013 (10.13.6)



Besides software issues, there's a good chance that the cable is at least partially damaged (or not genuine Apple) so it might work for dumb power chargers but not with a MacBook that also relies on the USB data pins.