Fix iPhone Keeps Connecting And Disconnecting From Mac With This Terminal Command

Fix iPhone Keeps Connecting And Disconnecting From Mac

Are you experiencing an issue that is causing your iPhone to connect and disconnect from Mac? If yes, then don’t worry as we have the right solution for you.

Having the ability to connect iPhone to the Mac via a USB cable is essential for charging and syncing data. However many users complain that although their device connects to their Mac, it keeps disconnecting. Internet is filled with queries of users looking to fix iPhone keeps connecting and disconnecting from Mac.

The solution to this problem is simple and it can be fixed with a simple Terminal command.

However before you use the Terminal command make sure the USB cable you are using to connect your device to the Mac is working properly as more often than not the issue is with the USB cable.

Fix iPhone keeps disconnecting from Mac with Terminal

Now that you have checked the USB cable and it is working properly, you can fix iPhone keeps connecting and disconnecting from Mac by following these steps.

1. Press Command + Space keys and type Terminal in the Spotlight search bar.

2. Now open Terminal and copy and then paste the following command in Terminal.

sudo killall -STOP -c usbd

Entering the command above should pause the usbd process on your Mac.

3. Now connect your iPhone to the Mac with a working USB cable and check if it is still connecting and disconnecting like before. If the device is charging properly, then the issue is resolved. However keep in mind that pausing the usbd process reduce the power output of a USB port, which will result in your device charging slower than usual.

4. Once you are done charging or syncing the device, you can resume the usbd process by entering the following command in Terminal.

sudo killall -CONT -c usbd

Entering the command above should restart the usbd process and fix iPhone keeps connecting and disconnecting from Mac issue.

Other possible solutions

If this solution does not work for you, then other solutions to fix this issue include resetting the Location & Privacy settings of an iPhone by going to Settings -> General -> Reset -> Reset Location and Privacy.

You can also try resetting SMC of your Mac to fix iPhone keeps connecting and disconnecting from Mac issue.

For some users resetting NVRAM also helps. In order to reset the NVRAM, hold ‘Command+Option+P+R’ simultaneously during starting up your Mac. 

Disclosure: iOSHacker may receive a commission if you purchase products through our affiliate links. For more visit our privacy policy page.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous Article

How To Enable Or Disable Low Data Mode On iOS 15

Next Article

How To Check Battery Cycle Count And Condition Of A MacBook