title: Cannot add constraints on a fresh custom view in Xcode 11.x (.xib file)
body: <p>Designing custom views with Xcode 11.2 (11B52) or 11.2.1 (11B500), I met some situations where I cannot create constraints onto the view and its subviews.</p>
  
  <p>It may be hard to reproduce since it is embedded in an existing project, but in this particular, just creating an empty view via :</p>
  
  <blockquote>
    <p>File → New → File... → User Interfaces → View</p>
  </blockquote>
  
  <p>If I add some components from the object library, then I cannot add constraints via <kbd>Ctrl</kbd>-click or the bottom right icon</p>
  
  <p><a href="https://i.stack.imgur.com/bZrQw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bZrQw.png" alt="Cannot add constraints"></a></p>
  
  <p>In my previous attempt, I correctly bound it to my swift class, even if there was no controller yet.</p>
  
  <p>I suspect I wrongly configured something related the "Auto Layout" feature, but have no clue where it is now. If I copy/paste a tree view from a existing storyboard where the constraints are properly editable, then it is possible to add constraints without issue.</p>
  
  <p><a href="https://i.stack.imgur.com/spBgT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/spBgT.png" alt="enter image description here"></a></p>
  
  <p>The side-by-side comparison does not show any obvious difference in the various inspectors.</p>
  
  <p>What is the right approach to avoid these constraint locking issues ?</p>