IB Designables: Failed to render and update auto layout status

后端 未结 14 1139
花落未央
花落未央 2020-12-13 04:11

I have a custom view (xib) that has a UIButton inside of it, I made id IBDesignable doing the following:

UserView.swif

14条回答
  •  感情败类
    2020-12-13 04:42

    It is the problem with some cocoa pods versions like 1.5.0. If you are using this one then it cause to rendering failed to move from current version to other run this commands in terminal

    sudo gem uninstall cocoapods
    

    You can install any specific version by mentioning like this

    sudo gem install cocoapods -v 1.4.0
    

    Hope it will works for you.

提交回复
热议问题