美文网首页
Undefined symbols for architectu

Undefined symbols for architectu

作者: emily_sky | 来源:发表于2016-10-22 14:41 被阅读146次

    将原来的UIWebView升级为更轻量级,占用内存更少的WKWebView后,出现了如下的问题:

    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_WKWebView", referenced from:
      objc-class-ref in DrivingViewController.o
    ld: symbol(s) not found for architecture arm64
    

    解决方法 :在项目配置中添加系统类库:WebKit.framework

    1、Go to your Project
    2、Select your Target
    3、Then, go to Build Phases
    4、Open Link Binary With Libraries
    5、Finally, just add + the WebKit framework / any other framework.

    相关文章

      网友评论

          本文标题:Undefined symbols for architectu

          本文链接:https://www.haomeiwen.com/subject/iyhhuttx.html