Archive for April 2009

iPhone doesn’t show up in iTunes and Xcode but does in iPhoto

I titled this post as such so that others with this same delimma might find these instructions helpful.

Today I noticed the my iPhone doesn’t show up in iTunes and Xcode but does in iPhoto.   After a few reboots of my Macbook Pro and the iPhone with no success, I started Googling to see if there was a “hold your tongue like this and restart” sort of solution.  The most promising help came from this apple link.

http://support.apple.com/kb/HT1747

This seemed to be about what you would need to do to wipe iTunes and get reloaded.  I tried it three times before giving up and searching more.  Seemed to me that OSX should have some logs that would indicate a problem.  I cranked up a terminal and looked in the standard unix places /var/log etc. but found nothing of interest.  I Googled more and found that the Console app is the best tool to see what’s going on.

I saw a curious message with 

…USBMuxListenerCreate “no such file” and Googled it and found similar folks with the same problem.  I also noticed that the iTunes installation noted that it was skipping the mobile framework.  I decided to risk renaming the folder and rerun the iTunes install.

1. In the terminal become the root user.

2. Go to /System/Library/PrivateFrameworks

3. Look for a folder called MobileDevice.framework

4. Rename is using rm MobileDevice.framework MobileDevice.fw 

5. Follow the above link to remove all the rest of the iTunes files

6. Empty the trash and reboot.

7. Re-run the iTunes installer while watching the Console to see that it wasn’t skipped again.  There was some sort of Device framework that was skipped, but the correct files seemed to get installed this time.

After all of this, the iPhone magically was recognized and iPhoto and iTunes started up and it started syncing.  I even started Xcode and it showed up there as well.  

That seemed to do the trick, but I wonder if a similar approach has worked for anyone else.

This link might also be of help to some folks.

http://support.apple.com/kb/HT1747

I did find (after knowing what I was looking for) this link that suggests deleting it as well.

 

http://hubpages.com/hub/Unable-To-Restore-iPhone–What-Can-You-Do-If-You-Are-Unable-To-Restore-iPhone

 

I hope someone else finds this helpful.  I was dreading having to take it to a “Genius” as I’m sure that they would have spun around and ended up with “reload OSX”.

-Andrew