Re: Crash trying to unarchive webview from IB document
Re: Crash trying to unarchive webview from IB document
- Subject: Re: Crash trying to unarchive webview from IB document
- From: Sherm Pendley <email@hidden>
- Date: Tue, 25 May 2010 15:13:39 -0400
On Tue, May 25, 2010 at 3:10 PM, Laurent Daudelin
<email@hidden> 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 add WebKit.framework to your Xcode project?
sherm--
--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________
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