_MBProgressHUD不能援用的标题

2019-08-17 03:51 来源:未知

解决OBJC_CLASS_$_MBProgressHUD无法援用的主题材料(转发),mbprogresshud

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_MBProgressHUD", referenced from:

韦德国际1946官网,      objc-class-ref in ViewController.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

    这里的谬误是因为你的在building phases中一贯不援用相关的头文件,因而,只要求在building phase中加上对应的.m文件就足以了。

Undefined symbols for architecture i386: "_OBJC_CLASS_$_MBProgressHUD", referenced from: objc-clas...

Undefined symbols for architecture i386:

Undefined symbols for architecture armv7:
  "_OBJC_METACLASS_$_MWPhotoBrowser", referenced from:
      _OBJC_METACLASS_$ _** in **.o
      _OBJC_METACLASS_$_** in **.o
  "_OBJC_CLASS_$_MWPhotoBrowser", referenced from:
      _OBJC_CLASS_$_** in **.o
      _OBJC_CLASS_$_** in **.o
  "_OBJC_CLASS_$_MWPhoto", referenced from:
      objc-class-ref in **.o
      objc-class-ref in **.o
  "_OBJC_CLASS_$_MBProgressHUD", referenced from:
      objc-class-ref in BaseViewController.o
      objc-class-ref in MBProgressHUD CustomHUD.o
      l_OBJC_$_CATEGORY_MBProgressHUD_$_CustomHUD in MBProgressHUD CustomHUD.o
      objc-class-ref in **.o
      objc-class-ref in **.o
  "_OBJC_CLASS_$_Reachability", referenced from:
      objc-class-ref in Reachability Ext.o
      l_OBJC_$_CATEGORY_Reachability_$_Ext in Reachability Ext.o
      objc-class-ref in AppDelegate.o
      objc-class-ref in **.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

"_OBJC_CLASS_$_MBProgressHUD", referenced from:

 

objc-class-ref in ViewController.o

三个测量检验完好的门类小编复制出来放到叁个新的公文夹中,然后更新了下cocoapods 就出现这么些难题.

ld: symbol(s) not found for architecture i386

门路未有安装相对路线,库都是在文书夹中.检查了并未有再一次文件,重复导入.能够说没改任何设置.然而就是那般一复制,就报错了.

clang: error: linker command failed with exit code 1 (use -v to see invocation)

化解方案:

此地的谬误是因为您的在building phases中尚无引用相关的头文件,由此,只须求在building phase中反省是不是有相应的.h .m 文件.

Xcode直接clean应该是从未删掉项目目录之类的,笔者直接找到DerivedData,把内部全部文件夹都给清理了,再编写翻译就好了
PS:
DerivedData
潜移暗化:可重新生成;会删除build生成的项目目录、build输出以及日志。重新展开项目时会重新生成,大的品种会消耗一些岁月。

路径:~/Library/Developer/Xcode/DerivedData 

TAG标签: 韦德娱乐1946
版权声明:本文由韦德娱乐1946_韦德娱乐1946网页版|韦德国际1946官网发布于韦德国际1946官网,转载请注明出处:_MBProgressHUD不能援用的标题