iOS no visible @interface for 'UIButton' declares the selector errors

时间:2023-03-08 23:18:05
iOS  no visible @interface for 'UIButton' declares the selector errors

no visible @interface for 'UIButton' declares the selector errors 

原理不是特别理解,通过清理缓存,代码更新了,Xcode还是读旧的缓存,不过不常见(一般在更新Pods之后),如果其他地方没有问题,可以试试

清理缓存:

   Finder --》前往 --》资源库(按住option)--》Developer --》xcode --》DerivedData