关于Could not instantiate class named xxx的解决方案

iOS调试过程中,如果出现类似“Could not instantiate class named xxx”的错误,一般都是没有引入相关的系统库导致的,下面以Could not instantiate class named WKWebView为例的解决方案是:

Xcode–》TARAGETS–》General–》Linked Frameworks and Librarier,点击“+”号添加相应的系统库,如下图所示:

《关于Could not instantiate class named xxx的解决方案》

然后编译,run,问题解决。

    原文作者:找只码农
    原文地址: https://www.jianshu.com/p/bf27f6b69478
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞