iOS-各种报错,各种error

BUG Apple LLVM 5.0 Error   

是因为修改了头文件,添加了空格啊什么的

LLVM(low level virtual machine) 低级编译器

需要把note 后面提示要删的指定的路径文件在Finder中找到并完全删除

如果是真的修改了system header ,那么解决的方法:

1 还原  

2 重装Xcode

关于xib连线的三个BUG

1、xib中的label连线有问题;去查看xib 看是不是有某个拖拽的控件关联了一个不存在的属性;

 reason: '[<ZYViewController 0x8c1ece0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key label.

2、ZYViewController  xib 中view与files’owner 的连线断了 ;连上

reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ZYViewController" nib but the view outlet was not set.

3、ZYViewController中没有buttonClick方法;看 该类中 有没有某个Button绑定的这个方法,但是没有实现;或者方法名写错了 

 reason: '-[ZYViewController buttonClick:]: unrecognized selector sent to instance 0x8d62690'

原文地址:https://www.cnblogs.com/chebaodaren/p/5266003.html