Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_WKWebView", referenced from:

Johnny Zhang picture Johnny Zhang · Jul 11, 2016 · Viewed 18.5k times · Source

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_WKWebView", referenced from: ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

Any help is appreciated!

Answer

david picture david · Dec 11, 2018

Just for reference:

Go to your Project -> General -> Linked Frameworks and Libraries then add WebKit.framework

What you see here is that the WebKit framework is used but the actual binary is not getting linked.