When using constraint field for layout:fillHorizontally or layout:fillVertically (for example layout:fillVertically = constraintName = super inset(40)) the generator fails with an error "Invalid redeclaration of constraintName". This is because when making constraints for the fill, the generator creates two constraints with the same name:
constraints.constraintName = make.left.equalTo(target).offset(40.0).constraint
constraints.constraintName = make.right.equalTo(target).offset(-40.0).constraint
When using constraint field for
layout:fillHorizontallyorlayout:fillVertically(for examplelayout:fillVertically = constraintName = super inset(40)) the generator fails with an error "Invalid redeclaration ofconstraintName". This is because when making constraints for the fill, the generator creates two constraints with the same name: