Subject: NSKeyedUnarchiver "incomprehensible
I have an iphone and mac client of my app. To get data between them, I
am using NSNetServices. The data is first archived using an
NSKeyedArchiver, then unarchived using an NSKeyedUnarchiver. But,
sometimes, when it is unarchinving, I get this error "*** Terminating
app due to uncaught exception 'NSInvalidArgumentException', reason:
'*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible
archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30)'" But, this
doesn't always happen, only 30% of the time.
It seems as though there is some data getting cut off/lost when sent.
Is there a way to check if the data can be unarchived, and if not, to
try again? Or, is there another way to get around this?
Any help would be much appreciated!
Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)
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 maillists@xxxxxxxxx