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: Laurent Daudelin <email@hidden>
- Date: Tue, 25 May 2010 12:16:21 -0700
On May 25, 2010, at 12:13, Sherm Pendley wrote:
> 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--
Stupid me! LOL. Thanks, Sherm!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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