M.Bonjour
M.Bonjour

Reputation: 1152

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

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!

Upvotes: 31

Views: 27599

Answers (3)

Aftab Ahmed
Aftab Ahmed

Reputation: 113

Delete Derived Data -> Clean -> Build

Upvotes: 0

david
david

Reputation: 3583

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.

Upvotes: 42

WINSergey
WINSergey

Reputation: 2005

Check if @implementation is absence. This answer gives you more info.

Upvotes: 1

Related Questions