iPod/iPhone Cannot Be Synced, Required File Not found

This one is definitely a post in the category of primarily being a reminder for future me in case an annoying problem reoccurs, but I guess it may be useful for anyone else struggling with a similar issue.

A couple of days ago I plugged my iPhone into the Mac to synchronise it using iTunes, and after what seemed like a normal process, the process came to a sudden halt during the photo synchronisation stage with a pretty useless error stating that the iPhone could not be synced because a “required file� was not found. Needless to say it didn’t actually tell me what the required file was, nor where it was looking.

My first port of call was to have a trawl through the log files, which is where I made another annoying discovery, iTunes doesn’t seem to log details of it’s synchronisation operations anywhere.

The Mac has for a while had a nice suite of synchronisation technologies based around an application called iSync. Certainly the iPhone synchronisation uses at least part of this as if you have iSync set up it will activate during an iPhone or iPod synchronisation with iTunes. If you ran into any problems with iSync there was always a handy menu option to take a look at the log file and try and track down where it went wrong. No such luck with an iPhone as according to that log file the last time I synchronised anything was the last time I did my old phone.

Okay, what about the main system log? Although this has some messages from iTunes, there is nothing to even indicate that a synchronisation operation has taken place.

Having not come up with anything I then reverted to the usual source of information for weird errors, and googled the error message. That produced plenty of people with the problem, but nobody with much of a clue as to how to solve it.

I figured that since iTunes was drawing the pictures from iPhoto, that might be the source of the problem. Certainly that had changed in between the last successful synchronisation and this attempt in that Beth had loaded all of her pictures from our recent trip into the application, but looking through those there wasn’t anything out of the ordinary amongst those. I used the iPhoto maintenance mode (hold down the command and option keys when you start the application) to rebuild the iPhoto database, but again that produced the same problem. A friend suggested that the presence of movie files in the albums being transferred might be an issue, so I tried removing those, but again no joy. The only way I could get anything to properly transfer was to remove the albums that contained Beth’s newly uploaded pictures.

Last night I finally got to a solution. In all my removing and replacing pictures, and even after I had rebuilt the iPhoto database iTunes had never been through the long and rather tedious “Optimizing pictures� stage. Digging around I found that these were stored in a folder within the iPhoto database called iPod Photo Cache – the key thing being that the contents of this folder are not regenerated by an iPhoto database rebuild. So last night I tried deleting the folder as advised in this Apple Support Document (which incidentally is nowhere to be seen when you search for the actual error), and then left the iPhone synchronising overnight. Based on the speed it was going the optimisation phase would have taken about five hours – certainly the computer had not yet reached it’s inactivity timeout, however all the photographs had successfully transferred.

So for future reference, if iTunes starts throwing useless error messages whilst synchronising photographs, take a look at the iPod Photo Cache, and if necessary delete it. One last thing, can Apple Inc please consider adding some sort of logging functionality to the iTunes synchronisation function as we have for regular iSync, then at least we have a vague hope of tracking down errors rather than playing vague guessing games!

Subscribe / Share

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

  • Dylan
    Wow apple is ridiculous sometimes! Thanks this worked perfectly for 3gs. Now if only apple could provide it's own troubleshooting that would be amazing.
  • iPhone 3GS
    A perfect explanation !!!!! it worked with my 3GS, thks !!!
blog comments powered by Disqus

Asides

Flickr Pictures

Scan 1.1 Lucy and Julia Anne Hathaway's Cottage Chris Changes the Music Clearing Up Wedding at Cana Window Flying Overhead Weeping Wall Howard Skylon Tower and IMAX Theatre Cathie and Denise Beth on the Logan Pass 2 Looking Towards the Aquarium An Empty Church Lake McDonald 1 Refreshments Redefined 2 Water on Yeo A Bit More on Friday Morning Lucy Standing at the Table View West Over the Manor House Taking a Break Under the Gantry Fishing

Lifestream