UIButton with IB_DESIGNABLE throws runtime attribute warning and does not render in Interface Builder

前端 未结 7 624
耶瑟儿~
耶瑟儿~ 2021-01-30 12:59

I\'m running Xcode 6.1 and I have been using IB_DESIGNABLE with IBInspectable for quite a few projects already but all of the sudden it just doesn\'t work anymore. I have create

7条回答
  •  [愿得一人]
    2021-01-30 13:45

    If you are sure that you set all the setters right, and if you imported some other SDKs in your project and you are getting this issue, check 'Linked Frameworks and Libraries' in Target - General.

    After I correctly linked some SDK frameworks, the error went away.

提交回复
热议问题