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

Mar 18, 2020 11:40 AM in response to ajainEarthNetworks

Tried connecting a new iPhone 11 to a Macbook Pro (2015) and had this very frustrating problem. Using a new cable. Tried everything, but this actually worked. Not sure if I will have to do this again when I reboot, but I guess we will see.


As a relatively recent Windows transplant, while this solution works, it does have a very clunky windows-like feel to it. Honestly I thought my days of task killing were over now that I am swimming in the iOS pool. :-(

Jul 22, 2020 7:07 AM in response to rpmartins

This was fantastic advice - thank you. I'm a techno-dummy who gets visibly shaken when I'm in the Terminal. Me and code do not jive. This however was easy as pie and worked like a charm. The constant connect/disconnect with my iPhone while it was plugged into the laptop, (coupled with the annoying sound) was making me nuts, (well, more nuts than normal). Thanks again!

Aug 8, 2020 2:29 AM in response to MélodyH

Buy something other than a Mac. At least that's what I'm planning to do. Something as simple as connecting your phone to your computer, should never be such a big problem. I've tried everything and nothing works. usbd is impossible to kill. killall -stop... in Terminal, none of that works. I'm done with Apple. Overpriced and now as problematic as windows. Game over for me.

Oct 14, 2021 9:37 AM in response to MélodyH

I'm a a loss for what to do at this point and I'm starting to wonder if it's my Macbook itself that is the problem. I've had this issue for the past 3 years with two separate phones, but the same Macbook.


I'm running a 2015 Macbook Pro with Mojave (had this issue on the previous OS as well). I first noticed the issue with my iPhone XS Max, but didnt't think anything of it as I just charged with wall ports and used Airdrop to transfer things. I now have a new phone and would like to be able to connect it to my Macbook.


I now have an iPhone 12 Max and the same issue is occurring.


None of the current solutions people are suggesting have worked. I've tried all of the following:

  • terminal commands
  • resetting my SMC
  • resetting locations and privacy on my phone
  • resetting all settings on my phone
  • fully updating my phones.


This is really becoming frustrating...

Oct 22, 2021 1:47 AM in response to nk5.2

Thats true, #AppleCare doesn't seem to care at all, every supposed trick here is just guess work and not an actual solution, people tried their best to resolve among themselves, meanwhile the apple admin idiot who manages this thread probably doesn;t even open this page to actually try and give an f...! All while launching new crap non stop...

Apr 24, 2022 4:45 PM in response to MélodyH

This error means something went wrong while establishing the connection between the Mac and the iPhone. These suggestions are largely useless - a lot of things could have gone wrong, and things like restarting the Phone or changing the cable won't fix any of them. This has happened to me twice over the past few weeks - it turned out there was a corrupted file that caused the problem. Deleting the file let the phone sync again. I don't know what the implications are for my music library - I'm a recents switcher from Android, and haven't synced anything yet. In any event, I can't think of an excuse for Apple not to have fixed this in the 10 years since it was first reported here: https://discussions.apple.com/thread/4474508?page=3


Or if not fixed, at least provide enough information to correctly diagnose the problem - I'm sure this corrupted file isn't the only cause. These reboot the machine / replace the cable / reset the phone suggestions are frankly insulting, and the reason a lot of users stopped using Windows years ago. No reason to recreate the same useless support environment for Apple products.

Sep 20, 2018 1:12 PM in response to MélodyH

I think I found a solution after much research.


On the mac, go to settings>Network> iphone USB> then uncheck the box that says "Disable unless needed"


This worked for my iphone 7


I hope this helps!

Sep 19, 2018 6:24 AM in response to MélodyH

If you use multiple desktops with one desktop handling photos (ImageCapture), and another desktop handling iTunes, the madness that ensues is impossible to reconcile, because the macbook pro jumps from one desktop to the other while you are trying to accept a trusted connection, and the iPhone is doing its thing - connecting and disconnecting.


Apart from the very poor/weak management of multiple desktops in OSX (vs Linux), this situation can drive you insane.


The solution is to make sure iTunes is not running when you connect your iPhone - and be on the same desktop as ImageCapture will be when it automatically starts. When you connect your iPhone remove (swipe away) all active apps so that when you get the message to 'trust' this computer you can answer it.


For me this failure to connect occurred when I must have changed from the Wifi to LAN (via thunderbolt) connection. If I changed USB port and set WiFi ON it connected without a problem. But I got curious as to why I could not connect with the first USB port, and the above solution evolved.


This said, I do not agree that Apple should be able to make changes that remove the trust that is already established between devices. It is careless and arrogant behavior to allow customers to be left stranded. The more IT savvy will be able to solve this without resorting to the 'Genius Assistants' in the shops.

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.