You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

itunes 12 will not recognize iphone

I plugged my iPhone 5 into my iMac today for the first time since upgrading to 10.10. iPhone opened up and I was able to download photos however iTunes threw an error message stating "iTunes could not connect to this iPhone. This device is no longer connected."


I unplugged and tried again. Same message. After some googling I rebooted my iPhone and restarted iTunes. This time the phone produces no response in iTunes and it does not register as a device.


The iPhone is running 8.0.2 btw. I'm hoping upgrading to 8.1 on Monday will help. Any ideas on how to get it to connect?

iMac, OS X Yosemite (10.10), Late 2012

Posted on Oct 19, 2014 11:30 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 20, 2014 12:26 AM

Check this official document: iOS: Device not recognized in iTunes for OS X

80 replies

Oct 20, 2014 8:17 PM in response to Happy Dad

I actually managed to solve my issue.


I looks like I was having some conflict between multiple iTunes across three active user accounts that were open. During the software updates something go out of sync. I closed all accounts and restarted the iMac. I then opened my account only and iTunes. This time the iPhone registered with that iTunes. I'll do this will the other iDevices that have to register to their respective accounts.


Now I can have the multiple accounts open and have the iPhones sync to the right one.


So my recommendation is restart the computer and hard sync the iPhone to the correct account/itunes one at a time. Solved my issues.

Nov 7, 2014 5:44 PM in response to Happy Dad

Same story; Mavericks, iTunes 12.01, iPhone 5S iOS 8.1; iPhone 4S 7.1; iPad 2 iOS 8.1. iTunes stopped recognizing all. Restarts of computer and devices did not help, though the "Trust this computer" dialog came up each time I plugged in the 5S. Clicking trust did nothing—the iPhone was still not recognized. The "phone not connected" dialog kept coming up as well.


I downloaded the iTunes 12.01 installer and ran it. This fixed the problem (I recall a similar problem with an early release of iTunes 11), with no restart necessary—once launched iTunes recognized the 5S and saw the iPad over the network, with no "trust" dialog. Sync proceeded properly.


If my experience of the problems with iTunes 11 is predictive of this it will be necessary to do the reinstall multiple times till Apple fixes the pproblem.

Nov 7, 2014 11:15 PM in response to jhd3

Yes, I also see this on Mavericks ever since iTunes 12. I tried reinstalling it via the download package and it seemed to fix it for a while, but after a bit the errors come back. Often when iTunes is complaining, the phone will keep asking if I should trust the same computer over and over whenever it's plugged in. Basically, the only fix seems to be to either reinstall iTunes or reboot the Mac.


So iTunes 12 seems generally more broken than iTunes 11. What a surprise. It's just yet more crap Apple software with increased bugs, like everything else they've done for the last few years. Whatever fixes it for anyone is likely to be temporary and likely to differ from person to person, because the bottom line is that the software's just more buggy than it used to be and, given Apple's track record of late, it's likely to just continue to degrade.

Nov 8, 2014 4:22 AM in response to Pond

The same story for me on Mountain Lion / iPhone G4 / iPad 2..


iTunes 12 does not seem to clear the connection state with the iPhone / iPad properly. This issues exists both for USB and WiFi available devices. When it starts to fail it does not show the device list (button is missing) and so it seems it can't initiate the process to check external devices even worse the iPhone/iPad start asking to trust the iMac; so it is completely broken. I have checked processes and there does not seem anything unusual nor any hanging processes are shown. Stopping the iTunesHelper.app. does not help. When a restart fixes the issue it can't hardly be a preference issue...


For my situation this error-condition is always cleared by restarting the Mac (up to now).


In my opinion restarting a machine for just clearing an *user application* is getting Apple's reputation harmed.

For me it's pretty clear a broken piece of software and have not experienced this behavior with any other version.

Nov 8, 2014 4:30 AM in response to FdeBrouwer

Mine is exactly the same - very rare problem in the past now with 12.0.1.26 it runs for three or four days and then needs the whole **** computer re-booted - Again!


what a COMPLETE LOAD OF CRAP APPLE - NOT - Good - enough - we pay premium prices to have **THE BEST** kit in the world and you're sending updates out worse than Beta tested.

Nov 8, 2014 12:28 PM in response to FdeBrouwer

Some technical syslog messages when a iPhone is connected:


usbmuxd[28]: dnssd_clientstub ConnectToServer: socket failed 24 Too many open files

com.apple.usbmuxd[28]: _BrowseReplyReceivedCallback Error doing DNSServiceResolve(): -65539


usbmuxd[28]: AMDeviceConnect (thread 0x100581000): Could not connect to lockdown port (62078) on device 136 - d4764696bdcf72dd442d2c479a5d795d41416d47: 0xe8000084.

usbmuxd[28]: _AMDevicePreflightWorker (thread 0x100581000): Pair worker could not connect to lockdownd on device 136: 0xe8000084.


Clearly broken...

Nov 12, 2014 2:43 AM in response to FdeBrouwer

Problem Summary

The message of "too many open files" indicates that a process isn't closing file descriptors properly. In Unix, everything is a file, and every user (including system users) has a limit on what system resources it is allowed to consume. If they exceed that limit, the system won't allow them to do more. It keeps runaway processes from consuming 100% of the system resources, and it's usually a good thing.


In this case it's usbmuxd that's the bad player. You will find system.log filled with errors related to "too many open files," and if you use "lsof" to inspect the process, you'll find that it has thousands upon thousands of IPv4 and IPv6 TCP connections left in CLOSE_WAIT state. You can also see this with netstat, which doesn't require sudo. In my case they're all connections to port 62078. Some are to my iPhone. I suspect that the others are the various other iPhones and iPads that my wife and I have around the house. CLOSE_WAIT is a TCP state where the server (my MBP) has received the first FIN packet from the client (my phone). The OS is now waiting for the application (usbmuxd) to execute a close() call on the socket. usbmuxd isn't doing so, thus the sockets pile up until the MBP is out of resources to give to usbmuxd. This results in the lockdownd errors and everything else.


[monachus@poison ~]$ netstat -an | grep 62078 | head

tcp6 0 0 fe80::426c:8fff:.54684 fe80::1074:8059:.62078 CLOSE_WAIT

tcp6 0 0 fe80::426c:8fff:.54674 fe80::1408:c1f2:.62078 CLOSE_WAIT

tcp6 0 0 fe80::426c:8fff:.54669 fe80::1408:c1f2:.62078 CLOSE_WAIT

tcp6 0 0 fe80::426c:8fff:.54661 fe80::1408:c1f2:.62078 CLOSE_WAIT

tcp4 0 0 10.68.0.14.54660 10.68.1.7.62078 CLOSE_WAIT

tcp6 0 0 fe80::3e15:c2ff:.54659 fe80::1408:c1f2:.62078 CLOSE_WAIT

tcp4 0 0 10.68.0.14.54658 10.68.1.7.62078 CLOSE_WAIT

tcp6 0 0 fe80::426c:8fff:.54657 fe80::1408:c1f2:.62078 CLOSE_WAIT

tcp4 0 0 10.68.0.14.54500 10.68.1.7.62078 CLOSE_WAIT

tcp6 0 0 fe80::3e15:c2ff:.54499 fe80::1408:c1f2:.62078 CLOSE_WAIT

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4842



The source of the problem is that usbmuxd is not closing sockets. 4800 sockets in CLOSE_WAIT state! Thanks, dude. This is so totally amateur that Apple should be ashamed, but let's remember that they don't read these forums, and they don't care. They're working on the Next Big Screen or something else designed to strip us of our money. We bought in. This is our fault.


The Solution

usbmuxd is a system process that is controlled by launchd, which means that if you punch it in the face, it'll restart. This frees the (old) usbmuxd locks on the sockets, and the OS will begin to close them. You can find the PID of usbmuxd using "ps" and then use "sudo kill" to terminate the process.


[monachus@poison ~]$ ps ax | grep usbmuxd

42 ?? Ss 0:00.32 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/u sbmuxd -launchd

[monachus@poison ~]$ sudo kill 42

Password:

[monachus@poison ~]$ ps ax | grep usbmuxd

25528 ?? Ss 0:00.03 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/u sbmuxd -launchd

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4465

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4463

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4457

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4457

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4372

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4357

[monachus@poison ~]$ netstat -an | grep 62078 | wc -l

4298



At this point your devices can be reconnected, and they'll work...for a while. The next time you get the "Trust This Computer?" loop, punch usbmuxd in the face again.


I checked back through the logfiles, and it seems that it takes about 34 hours for usbmuxd to suck up its maximum quota of resources. Since kicking it harms nothing, you can set up a cron job to do this automatically, and at least then we can avoid the fist-shaking rage of having to tolerate incompetence. I've put the following line into root's crontab to run every 24 hours, before I get up in the morning:


14 4 * * * ps ax | grep usbmuxd | grep -v grep | awk '{ print $1 }' | xargs kill



If you know how to put something into root's crontab, then you'll be fine with this. If you don't know what I'm talking about, then you shouldn't be playing around with this stuff. Instead, you'll have to shake your fist and wait for Apple to wake up and fix their s***.


Happy Wednesday.


Adrian

itunes 12 will not recognize iphone

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