UIStackView inside UICollectionViewCell autolayout issues after running on Xcode 10 beta : <p>My stack view contains an image and label to display some tasks. They were all left aligned on multiple rows. </p>

<p>I didn't have any issue running on Xcode 9, but when I run on Xcode 10 beta 6, I get some autolayout issues, I always get errors like for the stack view:</p>

<pre><code>Need constraint for X position
Need constraint for Y position
</code></pre>

<p>My current constraints for stack view are:</p>

<pre><code>Leading edge to cell - 5
Trailing edge to cell - 5
Bottom edge to cell - 2
Top edge to cell - 2
</code></pre>

<p>So I don't see what changed to complain about this, for me it's obvious that I have the X and Y set already.</p>

<p>Here is two screenshots with how it looks when it runs (label is truncated) and the storyboard:</p>

<p><a href="https://i.stack.imgur.com/xBico.png" rel="noreferrer"><img src="https://i.stack.imgur.com/xBico.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/5qsAF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5qsAF.png" alt="enter image description here"></a></p>
