I have a custom view (xib) that has a UIButton inside of it, I made id IBDesignable doing the following:
xib
UIButton
IBDesignable
UserView.swif
I disabled the 'User trait Variations' and my problem was solved.