• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:


  • Subject: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • From: David Dengg <email@hidden>
  • Date: Wed, 24 Aug 2011 13:02:52 +0200

Hello list,

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?

Thank you
David_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
      • From: Manfred Schwind <email@hidden>
    • Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
      • From: Jens Alfke <email@hidden>
  • Prev by Date: NSInvocationOperations mysteriously whacked out of NSOperationQueue
  • Next by Date: Hiding the title bar and adding the default close/maximize/minimize buttons
  • Previous by thread: Re: NSInvocationOperations mysteriously whacked out of NSOperationQueue
  • Next by thread: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Index(es):
    • Date
    • Thread