On Dec 4, 2011, at 11:17 AM, Stuart Rogers wrote: > *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class > (SplitsTestSet) > > I really don't understand why this is happening. I'm convinced it's > not a problem with library linking, as these apps have no problem > instantiating various objects sourced from the library. (Almost all > my Googling about this exception seem to be down to bad linking.)
My suspicion is that the class SplitsTestSet is getting dead-stripped from the Trainer app. Try adding the line “[SplitsTestSet class]” somewhere in the code, just to force a reference to the class-name so it won’t get stripped. Also try looking at the binary using the ‘nm’ tool to check whether the class symbols exist in the app. —Jens_______________________________________________ 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