• 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
Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 24 Aug 2011 23:22:44 -0700

On Aug 24, 2011, at 4:02 AM, David Dengg wrote:

> NSDictionary * xmldict = [NSDictionary dictionaryWithContentsOfFile:libraryXML];

Try loading it using NSPropertyListSerialization, which will return an NSError telling you what went wrong.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: David Dengg <email@hidden>
References: 
 >"iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile: (From: David Dengg <email@hidden>)

  • Prev by Date: Hiding the title bar and adding the default close/maximize/minimize buttons
  • Next by Date: Re: NSInvocationOperations mysteriously whacked out of NSOperationQueue
  • Previous by thread: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Next by thread: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Index(es):
    • Date
    • Thread