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

Missing iPhoto events in iTunes, iPhoto fails to create an AlbumData.xml for iTunes to sync photos with iPhone, creates ApertureData.xml instead

Hello everybody!


My iPhoto fails to create an AlbumData.xml for iTunes to sync photos with my iPhone, creates ApertureData.xml instead.


I use iPhoto 9.4.1 with latest updates installed as well as an uptodate iTunes. I never had Aperture installed. IPhoto was updated several times from the first version on Intel architecture.


Everything started with old events and Albums showing up in iTunes. New events and albums did not show up. I already did repair as well as rebuild the iPhoto database. After that I got deeper into the library folder I discovered that iPhoto creates ApertureData.xml instead of AlbumData.xml. But iPhoto expects AlbumData.xml. Placing an old AlbumData.xml into the folder makes iTunes show some old folders and albums. But as they do not exist, all are empty. New events are missing.


I followed some advises and deleted the iApps plist as well as all Caches under ~/Library/


I created a new iPhoto library with another user and found only one difference in the plist: com.apple.iPhoto.plist shows a different path (expected) but also the ApertureData.xml where the newly setup plist shows AlbumData.xml. When manually changed it is every time reset to ApertureData.xml by iPhoto on closing.


I also discovered the entry TouchedByAperture set to TRUE in one plist file contained in the database folder of my iPhoto library.


Even closing iPhoto and then setting this to FALSE and changing to AlbumData.xml is reset by iPhoto (or some other background process?) when iPhoto ist started again.


I also deleted every event, slideshow, keyword with any special character in it before finding out about ApertureData.xml.


Which switch in which plist did I overlook?


How to solve this?


Where does this problem come from?


Anybody else affected?

iPhoto '11, Mac OS X (10.7.5), iMac 20' late 2007

Posted on Oct 25, 2012 4:18 PM

Reply
10 replies

Oct 27, 2012 10:42 AM in response to neimannj

When a new iPhoto-Library is created iPhoto produces AlbumData.xml. As I left every reference outside the iPhoto-Library untouched the information has to reside somewhere inside of it.


I tried to overwrite all plist files in there with the ones from the newly created iPhoto-Lib but they seem to be re-written everytime when iPhoto is closed.


Where is the information stored?


I will now have a look at the database files (with apdb-ending).

Oct 27, 2012 11:06 AM in response to neimannj

Try the following: make a temporary, backup copy if you don't already have a backup copy of the library (Control-click on the library and select Duplicate from the contextual menu) and try the following: make a temporary, backup copy of your library if you don't already have one (Control-click on the library and select Duplicate from the contextual menu) and apply the two below:



Fix


Using iPhoto Library Manager to Rebuild Your iPhoto Library


  • Download iPhoto Library Manager and launch.
  • Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
  • Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
  • In the next window name the new library and select the location you want it to be placed.
  • Click on the Create button.

  • Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.


    OT

    Oct 27, 2012 11:15 AM in response to neimannj

    I finally found the solution:


    Edited Library.apdb from Database/abdb/-folder with SQLite Database Browser.


    Opened "RKAdminData" and set "isIPhotoLibrary" to 1 (was not set).


    User uploaded file


    Opening and closing iPhoto now outputs AlbumData.xml again.


    But the question remains: Why did one of the last updates change the default setting without Aperture installed?


    Seems like apple messed things up by making Aperture and iPhoto using the same library.

    Aug 5, 2014 8:51 AM in response to laurent184

    Open the package, find the file and drag it onto the SQL browser in the Dock. That should open it. Be sure to make a copy of the original file just in case the edit goes south.


    Try moving that file out of the library package, launching iPhoto with the Option + Command keys held down and in the First Aid window select Option #4, Rebuild Database. See if that will reset that attribute to 1. I just ran a test and the database file was rebuilt from scratch with the value set to 1:

    User uploaded file

    Missing iPhoto events in iTunes, iPhoto fails to create an AlbumData.xml for iTunes to sync photos with iPhone, creates ApertureData.xml instead

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