Chapter 7: Xcode 10 need to add webkit framework

When attempting to build you get the message
Could not instantiate class named WKWebView because no class named WKWebView was found

This is because you have to add the webkit framework to the build.

Select (PROJECT) BullsEye, (TARGETS) BullsEye, (TAB) BuildPhases,

Open “Link Binary With Libraries”
Click plus
(Search) webkit
select webkit.framework

Now try to build it.

2 Likes

@rlegault Glad you fixed it! :]

This topic was automatically closed after 166 days. New replies are no longer allowed.