no visible @interface for 'UIButton' declares the selector errors
原理不是特别理解,通过清理缓存,代码更新了,Xcode还是读旧的缓存,不过不常见(一般在更新Pods之后),如果其他地方没有问题,可以试试
清理缓存:
Finder --》前往 --》资源库(按住option)--》Developer --》xcode --》DerivedData