Re: Exception After Adding a WebView to a NIB
Re: Exception After Adding a WebView to a NIB
- Subject: Re: Exception After Adding a WebView to a NIB
- From: Maxthon Chan <email@hidden>
- Date: Sun, 25 Aug 2013 11:33:30 +0800
Well in Xcode [REDACTED] (or rather, clang 3.3) it is automated if you included its header file. So sit still and it will no longer be an issue soon.
On Aug 25, 2013, at 11:26, email@hidden wrote:
> No worries.
> It's such a common miss with such a common framework that it is arguable Xcode should be smart enough to add it for you or suggest it when using a webview.
>
> Sent from my iPhone
>
> On 2013/08/25, at 9:09, Thomas Wetmore <email@hidden> wrote:
>
>> Danger Man,
>>
>> I got the include part but forgot the framework part.
>>
>> Thanks!
>>
>> Tom Wetmore
>>
>>
>> On Aug 24, 2013, at 7:27 PM, email@hidden wrote:
>>
>>> Did you add the WebKit framework to your project and #include it ?
>>>
>>>
>>> On 2013/08/25, at 4:08, Thomas Wetmore <email@hidden> wrote:
>>>
>>>> I am writing an app that does NLP on web pages for genealogical information and adds semantic tags to the HTML showing the results.
>>>>
>>>> I am having a basic problem. When I add a WebView object to the main NIPB using the interface builder, the app immediately crashes by throwing an objc exception at the testb instruction below in NSApplicationMain:
>>>>
>>>> 0x7fff96ce99dc: jne 0x7fff96ce9a07 ; NSApplicationMain + 406
>>>> 0x7fff96ce99de: leaq 13979171(%rip), %rax ; GCC_except_table67 + 16
>>>> 0x7fff96ce99e5: movq (%rax), %rcx
>>>> 0x7fff96ce99e8: movq 13142833(%rip), %rsi ; SecKeySignDigest + 36
>>>> 0x7fff96ce99ef: movq 13292330(%rip), %rdi ; Security::PasswordDBLookup::lookupInfoOnUID(unsigned int) + 84
>>>> 0x7fff96ce99f6: movq %r15, %rdx
>>>> 0x7fff96ce99f9: callq *11792009(%rip) ; _value_entry_table_resize + 213
>>>> 0x7fff96ce99ff: testb %al, %al
>>>>
>>>> I see the exception occurs right after some security stuff. Does anyone know what is going on here?
>>>>
>>>> I am still just prototyping the user interface. No outlets and actions are set up. I just added the WebView and ran the program to see what the UI would look like. If I take the WebView out it runs fine again. I tried the WebView first in a tab view within a split view, and second in a split view.
>>>>
>>>> Thanks,
>>>>
>>>> Tom Wetmore
>>>>
>>>>
>>>> _______________________________________________
>>
>
> _______________________________________________
>
> 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
_______________________________________________
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