Actually integrated camera application using xib, in that I placed uiview on a view, after that I put imageview, again view on imageview for cropping. then run the project
I know this thread is very old but this is my experience and Solution.
Select view (UILabel, UIImage etc) Editor > Pin > (Select...) to Superview Editor > Resolve Auto Layout Issues > Add Missing Constraints
This error is to conflict between constraints that you have added. Remove the constraints that are not required. Not to use more than one constraint in the same direction and type.
I would recommend that you use SnapKit. It is an Autolayout framework, very convenient to use
import SnapKit
var label = UILabel()
label.snp_makeConstraints { (make) -> Void in
make.centerX.equalTo(0)
make.centerY.equalTo(0)
make.width.equalTo(30)
make.height.equalTo(30)
}
https://github.com/SnapKit/SnapKit Hope this is helpful:)