On 10 Jan 2014, at 13:47, Arjun SM <[email protected]> wrote:

> Hi all,
> 
> I am having a crash issue when i am trying to set the dictionary for
> persistent domain.
> 
> *Scenario*
> 
> When user logs in to my application, my app receives a few settings from a
> server which is updated to NSMutableDictionary.
> After updating the dictionary , I set the the values for the domain using
> below code,

Have you validated that the NSMutableDictionary instance only contains valid 
plist objects?
It looks to me from the crash report that it doesn’t.

The valid types: 
https://developer.apple.com/library/mac/documentation/cocoa/conceptual/PropertyLists/AboutPropertyLists/AboutPropertyLists.html

Try using NSPropertyListSerialization +propertyList:isValidForFormat:

Jonathan












_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to