Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_WKWebView", referenced from:
22,068
Solution 1
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.
Solution 2
Check if @implementation
is absence. This answer gives you more info.
Related videos on Youtube
Author by
Johnny
Updated on February 19, 2022Comments
-
Johnny about 2 years
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)
Any help is appreciated!
-
Jonathan almost 8 yearsDid you link the WebKit framework to your project?
-
Jonathan almost 8 yearsI mean, did you: 1. Click on your project in Xcode 2. Select General 3. Locate "Linked Frameworks and Libraries" 4. Click the plus button at the bottom and select "WebKit.framework" 5. Click Add?
-
-
Awais Mobeen over 3 yearswhere to check this @implementation ?
-
WINSergey over 3 years@AwaisMobeen Did you have a chance to check this link stackoverflow.com/a/26561570/1067147 ? Hope it explain the details
-
SimonKravis over 2 yearsDidn't work for me to deal with error undefined symbol: _OBJC_CLASS_$_Base64