For just a second I thought iTunes might perhaps be the problem. But then I found com.apple.iApps.plist which was newly generated after deletion:
Looks like it is still expecting AlbumData.xml, iPhoto still producing ApertureData.xml.
By the way there are no Plug-Ins or iPhoto Support tools installed here...
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).
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:
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.
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).
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.
Hi, I see this is a really old post but I am having this issue on iPhoto 9.5.1.
I've tried to follow your SQL instruction but I am unable to get into the Library.apdb from Database/abdb/-folder through SQLlite database browser as I can't get into the iPhoto library package.
Whats the exact file path to get to this?
Thanks for your help!
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: