Re: -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSDictionaryController)
Re: -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSDictionaryController)
- Subject: Re: -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSDictionaryController)
- From: Chris Parker <email@hidden>
- Date: Mon, 26 Apr 2010 17:30:15 -0700
On 26 Apr 2010, at 5:03 PM, Jack Repenning wrote:
> On Apr 26, 2010, at 4:34 PM, Chris Parker wrote:
>
>> if you're setting the deployment target for the nib correctly then IB should warn you that you're encoding something that 10.4 knows nothing about.
>
> Ah, swell ... yet one more spot to configure this. With your help, I found "nib info" in IB, with a "Deployment Target" list, currently set to 10.5, and correcting it to 10.4 produces an error, just as you say.
>
> It seems like there ought to be a single central place to set deployment target, is there not?
That'd be nice. :)
> Is the fact that I somehow got mis-matched target settings in Xcode and IB worth a bug report?
Absolutely. At present, I don't think there's anything automagic happening to keep that in sync. Please file a bug.
> Bearing in mind that I may not be able to give solid historical info: this project has been under development since OS X 10.2, with multiple tool-chain upgrades, reconfigurations, and the like; I could imagine that some sequences of UI interactions would legitimately reach this confused state, and I certainly couldn't deny doing them.
Our tool chain shouldn't be making this sort of thing any harder or more confusing than it already is. It seems completely reasonable to me that if I've set my Xcode project's deployment target to the 10.4u SDK, then the resources I create for that project should track the project.
.chris
--
Chris Parker
iPhone Frameworks
Apple Inc.
_______________________________________________
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