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.

Share:
22,068

Related videos on Youtube

Johnny
Author by

Johnny

Updated on February 19, 2022

Comments

  • Johnny
    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)

    enter image description here

    Any help is appreciated!

    • Jonathan
      Jonathan almost 8 years
      Did you link the WebKit framework to your project?
    • Jonathan
      Jonathan almost 8 years
      I 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
    Awais Mobeen over 3 years
    where to check this @implementation ?
  • WINSergey
    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
    SimonKravis over 2 years
    Didn't work for me to deal with error undefined symbol: _OBJC_CLASS_$_Base64

Related