I have a custom view (xib) that has a UIButton inside of it, I made id IBDesignable doing the following:
UserView.swif
Xcode 9.3, CocoaPods 1.5.3 It may be due to recent update on CocoaPods version. See issue here.
I had this error IB Designables: Failed to render and update auto layout status in the storyboard, the class STPPaymentCardTextField in Stripe SDK related to Cocoapods.
Solution is to downgrade your CocoaPods to 1.4.0.
sudo gem list cocoapods
sudo gem uninstall cocoapods
sudo gem install cocoapods -v 1.4.0
pod update