> one of my customers is reporting that my app does not find the "iTunes Music 
> Library.xml" file. Its there and its filled with data. His iTunes runs fine. 
> He send me the file and to my eyes it looks fine. The way i load it is with:
> 
> NSDictionary * xmldict = [NSDictionary 
> dictionaryWithContentsOfFile:libraryXML];
> 
> This returns nil for this file. The path is correct. For every other file I 
> encountered this worked fine. Is there a way to find out whats causing this 
> error? Or is there a known problem with loading this file that way?

Maybe the file is corrupt. In most cases it can be solved by deleting the XML 
file and then making a slight change in iTunes (e.g. rename a song). The file 
is then written again soon and should be fine.

Hope that helps,
Mani
--
http://mani.de - friendly software
iVolume - listen to music hands-free
Lullaby - wicked awesome shutdown timer
Secrets - secure information storage
LittleSecrets - the encrypted notepad
Watchdog - baffle the curious
Sahara - sand in your pocket

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to