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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 19:19:11

问题


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!


回答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.




回答2:


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



来源:https://stackoverflow.com/questions/38298322/undefined-symbols-for-architecture-x86-64-objc-class-wkwebview-referenced

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!