Remove #import "UIView+CUSLayout.m"

Remove #import "UIView+CUSLayout.m",so you should find the “Other
Linker Flags” option, and add the value -ObjC
Add computeSize to UIView and LayoutFrame

1. Instand of sizeThatFits
2. UIView can compute size with LayoutFrame,which have subviews.