title: Weird Entitlements issue on Distribution
body: <p>I'm having a strange issue when I attempt to sign an iOS app for distribution. (The app happens to be a Xamarin.Forms app but I'm not sure thats relevant).</p>
  
  <p>I build and archive for publishing just fine, but when I sign the app I get the following error:</p>
  
  <p>Publishing failed
  “The iCloud entitlement ‘com.apple.developer.icloud-container-environment’ is not supported by the Provisioning Profile.</p>
  
  <p>The odd thing is that my Entitlements for this app are empty. I don’t specify iCloud as an entitlement and I've double checked the App ID in the Apple developer portal and that has only Game Center and In-App Purchases enabled.</p>
  
  <p>When I use the codesign tool (ala codesign -d --entitlements :- "Payload/MyApp.app") I can see that cloud kit is certainly in there.</p>
  
  <p>Where oh where is this cloud kit entitlement being specified?! </p>