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

Sep 23, 2018 3:56 AM in response to rpmartins

Thanks for the tip.


However in the above scenario my Macbook was jumping from any desktop i tried to work in back to the desktop where I was running iTunes. By the time I had selected any other app (terminal included) I was thrown back to iTunes because it wanted to show me a message. I never saw this message because it got hidden behind the iTunes window. I only discovered the message after taking a guess at what was going on. So with terminal I would have had no chance to type anything, because as soon as I selected the correct desktop (where I keep terminals assigned) I would not get the time to even select the terminal let alone be able to type something into it. It would be far better if this message (regards trust) was thrown up in the notifications sidebar where it would have less influence on the behaviour of Apple's display manager. But seeing Apple have done nothing to improve the display manager with regard to the reliable positioning of apps on desktops I don't expect a change in this area either - a means to interrupt the display manager when it goes berserk - not even being able to reboot via the applet on the top left of the screen. My only solution was to log in from another computer and reboot.


At this point (remote terminal via SSH) using "sudo killall -STOP -c usbd" would have saved me rebooting.

Dec 12, 2018 4:29 AM in response to MélodyH

This issue appears to often be related to the power on the phone. When it's on a very low charge, it doesn't connect properly. (However, it seems to continually cycle through trying to connect, flashing on and off. Which is not really very helpful to the device or toubleshooting.)


I'm not sure what the minimum charge it accepts is, but as long as your device is charged to 'out of the red', you should be okay.

Aug 23, 2019 5:07 AM in response to MélodyH

This is most annoying. I'm having these issues with a USB connection between iPad or iPhone connecting to iMac. Only solution is to force quit USBD from Activity monitor (or terminal method). This solves it while iPad or iPhone is connected. Once devices are disconnected, this will happen all over again when next plugged in.


When force quitting USBD and as an indicator that things are not right when plugging in device afresh, device constantly asks me to enter PIN number to trust device...


It's not - energy based (ie battery less than 60%)

It's not - a cable issue

It's not - Reset Location & Privacy settings on iPhone or iPad

It's not USB port on iMac - others have same results


Because it doesn't happen with same devices and cables at all when I connect iPhone or iPad to MacBook Pro.


Restarting iMac doesn't help either.


Any ideas what can be done here?


Thanks

Nov 7, 2021 7:10 PM in response to MélodyH

I also had this problem for a long time but trying solutions posted so far such as stopping usbd only worked sometimes. I now have the suspicious the root cause might be that this rapid connect/disconnect only happens when the iPhone is <100% charged so that the iPhone is using the USB connection with PC/laptop to charge itself while trying to use is as real communication link at the same time. Bringing the iPhone 100% charged seems to work OK although the link still flips a few times before settling down. Best would be if anyone knows how to stop the USB connection being used for charging temporarily from PC/laptop or iPhone side.

Jun 25, 2018 10:57 PM in response to MélodyH

I tried all the helpful hints left here:

1) Used an original Apple cable

2) Tried to sync only when my iphone battery was > 80%

3) Reset privacy and location settings

4) Changed network settings on the laptop as suggested (USB and Thunderbolt)

5) Rest my phone completely

6) Reset PRAM and SMC on the computer


Guess what? the problem still persists. I never thought I'd say this but I'm fed up of my iphone now. It seems that the people at Apple are not even listening to its customers anymore. This problem has persisted since 2013 but no solution till date.

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.