title: iOS Provisioning profile doesn't include sandbox entitlements
body: <p>I'm getting the following error while uploading the iOS build from Xcode:</p>
  <p><strong>Profile doesn't include the com.apple.security.app-sandbox and com.apple.security.files.user-selected.read-write entitlements</strong></p>
  <p><a href="https://i.stack.imgur.com/BCN7C.jpg" rel="nofollow noreferrer">Xcode upload error screenshot</a></p>
  <p>I have also created an .entitlements file turning on both sandbox and user selected rights. <a href="https://i.stack.imgur.com/L9d6g.jpg" rel="nofollow noreferrer">Screenshot</a></p>
  <p>I can also see the required entitlements in signing and capabilities tab under app's target section. <a href="https://i.stack.imgur.com/W8w4M.jpg" rel="nofollow noreferrer">Screenshot</a></p>
  <p>I have also tried deleting all provisioning files from</p>
  <blockquote>
  <p>~/Library/MobileDevice/Provisioning\ Profiles/</p>
  </blockquote>
  <p>and re-downloading them again.</p>
  <p>The build is getting succeeded but I'm not able to upload it to app store connect.</p>
  <p>Any help or suggestions will mean a lot. Thanks!</p>