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

 

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

 

清理缓存:

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

相关文章:

  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
猜你喜欢
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2021-10-25
  • 2022-01-16
  • 2021-11-12
  • 2021-11-16
相关资源
相似解决方案