美文网首页
iOS- "_OBJC_CLASS_$_AWAdInt

iOS- "_OBJC_CLASS_$_AWAdInt

作者: malgee | 来源:发表于2019-01-24 15:04 被阅读3次

    问题:

    Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_AWAdIntersitialManager", referenced from:
          objc-class-ref in AWInterstitialVC.o
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

    原因: 当我们复制或者新建文件的时候 AWAdIntersitialManager文件没有参与到工程编译,就会造成找不到AWAdIntersitialManager类,编译错误,

    解决方案:在target -> Build Phases -> Compile Sources里面加入AWAdIntersitialManager.m文件重新编译

    相关文章

      网友评论

          本文标题:iOS- "_OBJC_CLASS_$_AWAdInt

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