Add the “iCloud containers” entitlement to your App ID
<p>I am trying to fix this issue for hours now. 
I have checked the App ID and confirmed the iCloud containers. 
Also i have entered the same in the app entitlements. </p>

<p>But there is a always a red mark before  "Add the “iCloud containers” entitlement to your App ID". I created the new provisioning profile and removed the expired provision files also. 
This is the first time i am facing this issue. </p>

<p>Is this issue related with the developer certificate signing or something?</p>

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