Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MBProgressHUD", referenced from:
objc-class-ref in WLBaseViewController.o
ld: symbol(s) not found for architecture x86_64
"_OBJC_CLASS_$_MBProgressHUD", referenced from:
objc-class-ref in WLBaseViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在targets ——build settings —— other linker flags 添加 $(inherited)
clean ,build,然后发现build success了。
本文解决了一个关于MBProgressHUD在项目中未找到符号的链接错误问题。通过在项目的其他链接器标志中添加$(inherited),并进行清理和重建,成功解决了Undefined symbols for architecture x86_64的问题。
170

被折叠的 条评论
为什么被折叠?



