iPhone connects and disconnects from Mac

Hello,


When I plug in my iPhone to my Macbook pro, it repetitively connects and disconnects. Therefore I cannot charge my phone through my computer anymore.


I own this iPhone since decembre 2018, and this issue only appeared this week. However when I plug in my iPhone to a wall outlet, it charges perfectly. I also noticed that there is a lag time before my phone starts charging when connected to my Macbook (before disconnecting right away, and then reconnecting etc).

I tried to connect my iPhone to both USB ports of my Macbook, with many different Apple lightning cables and also my Anker cable (MFI certified), but the issue substains. I plugged in my mother's iPhone 6 to my Macbook and it charged perfectly. I plugged in my iPhone to my brother's former Macbook pro (15" from 2008) and my iPhone could charge normally.


Here everything I tried to resolve this issue (which failed by the way) :

- I shut down and turned on my computer and my phone.

- I reseted location and privacy of my phone (Devices rapidly disconnect/reconnect - Macbook Air Mid 2013).

- I also restored my phone.


Could anyone tell me a solution?


I specify that I have a 256Go iPhone X under IOS 11.2.5 and a 13" retina Macbook pro (mid 2014) under High Sierra 10.13.3.


[Re-Titled by Moderator]

iPhone X, iOS 11.2.5

Posted on Feb 10, 2018 1:34 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 22, 2018 6:29 PM

But I do think I solved my problem, by something similar.


On the hunch that the computer was trying to set up a network connection via the phone while the phone was trying to do something else, I went into the network settings and found that in the list of services I had an entry for "Thunderbolt Bridge." I thought it was off, because it was listed as Inactive and the configuration I could see said "Configure IPv4: Off". But to make sure it was really completely disabled I pushed the "Advanced" button to change the configuration details (after clicking the lock icon and authenticating, of course). I changed "Configure IPv6" from "Automatically" to "Manually" and saved that.


After that, connecting my phone to the laptop finally worked. I was just now able to get some pictures off my phone onto the laptop.

Similar questions

276 replies

Jul 19, 2019 6:39 AM in response to MélodyH

I found a workaround (didn't solve but you can charge like theres nothing wrong IF you do this every time that happens).


When it starts connecting and disconnecting you put the iPhone on Low Power Mode: ON and reduce the screen brightness all the way down tils its dark. You'll notice that it will stop doing the Connect/disconnect dance and just charge, slowly but still charge.


Worked for me for some time now. Usually original cables and wallplug doesn't need this workaround. Problem shows up for me when using not original cables or usb from pc, macs, other gadgets chargers and so on.


If it works for you, please let me know. I wanna spread the word cause I never found a workaround on the internet and wanna help those frustaded iPhone users.


At.

Sep 9, 2019 4:30 AM in response to MélodyH

Further testing shows that just force quitting USBD from Activity Monitor only works temporarily. Once phone is disconnected and then reconnected, the problem returns. But you can resolve this issue more permanently, by using this terminal command whilst phone is connected via USB:


sudo killall -STOP -c usbd


This should be fine until you update OS.


Now all that remains is the annoying "Trust this computer?" alert every time I plug phone in...

Jan 31, 2020 2:15 PM in response to Bronco H

I feel a little silly to report that ...


  • I only tried two different Lightning-USB cables to connect between my iPhone XR and my late mid 2015 MacBook Pro (and the problem remained)
  • third time lucky, a legit RCA cable works just fine !!! :-)


So far, the connection works fine, I had no need to apply any other solutions mentioned in this discussion topic.


I wish a simple solution like mine would work for all of you. Good luck and don't give up !


Bronco

Apr 28, 2020 2:07 PM in response to MélodyH

Fixes devices connecting and disconnecting rapidly with iTunes

Made the script , just save to desktop

Open Automator ---- Run AppleScript --- Add Script --- Save as application in Desktop

Enter System Preferences ---- Go to User & Groups --- Click on your User ---- Login Items ---- Add The Usb Fix . All Done

------------------------------------------------------------

tell application "Terminal"

do script "sudo killall -STOP -c usbd"

delay 2

do script "Your Mac Password" in front window

delay 1

do script "killall Terminal" in front window

end tell

------------------------------------------------------------

Tutorial:https://www.youtube.com/watch?v=IF3eVmLdqpI

Hope you enjoy it :)

Oct 22, 2020 11:27 AM in response to MélodyH

This issue began for me when I plugged in the iPhone and was given the message in iTunes that the laptop needs to update software to be able to connect to the iPhone. During the update I accidentally unplugged my iPhone from my MacBook Pro while the laptop was updating software. I have tried everything listed here in this thread except for the iPhone USB setting because I could not see it in mt network settings. Laptop is a 2015 MacBook Pro running Catalina and iPhone is an 8 Plus running IOS 14.1. I spoke to Apple support and they recommended I re-install Catalina in recovery mode. Before I do that I was hoping there may be another suggestion from the community.

Nov 2, 2020 11:49 AM in response to MélodyH

I was having this issue, very frustrating. I have a 5-year old iMax and my iPhone would not stay connected for more than a couple of seconds. After trying everything listed in this thread with no success, I found that if I plug it into the USB on my wired keyboard all problems went away. I am just backing it up so I can get my new iPhone 12 on like, hopefully this issue will go away.

Sep 24, 2021 4:16 AM in response to MélodyH

Same with iPhone 12 mini (15.0) on M1 Mac (11.6).


Intermittently disconnects from Finder and Image Capture, sometimes mid-sync.


Important:

• works fine on an old MacBook Air with macOS Catalina, same cables.

• other iPhones / iPads all work fine on the M1 Mac Mini with the same cables.


• tried different cables (USB, USB-C) and ports

• only original Apple cables, undamaged

• tried without USB hub

• tried rebooting all devices

• tried resetting the privacy / location settings on iOS, trust computer again.

• tried killing the usbd process

• tried creating a new user on the Mac


In System Preferences -> Network I found a couple of Thunderbolt bridges and "iPhone USB" devices that all had red or orange indicators. I deleted them all an now it seems to work.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone connects and disconnects from Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.