On 25 maj 2010, at 13.10, Laurent Daudelin wrote:

> I was doing a little demo to a colleague this morning and built a simple app 
> consisting of a text field and a web view in IB. I was able to run the thing 
> from IB but when I tried to compile it as release and launch it, it would 
> crash with an exception:
> 
> *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class 
> (WebView)'
> 
> I tried to look if I did something wrong but since it was just a little demo 
> with no code written, I'm a bit stumped. I created a new project for a Cocoa 
> app, nothing fancy, then opened the MainWindow.xib in IB to add the text 
> field and the webview.
> 
> Anyone has any idea?

Did you remember to link your target to the WebKit framework? That's where the 
WebView class lives.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

Reply via email to