title: iCloud set up and provisioning
body: <p>I am trying to set up iCloud within my iOS application, I have done the following:</p>
  
  <ol>
  <li>Removed all old certs on mac.</li>
  <li>Added iCloud to the App in Dev Console - created new container and added to app</li>
  <li>Redone the dev provision and downloaded</li>
  <li>Installed the provision</li>
  <li>Added the iCloud Entitlement to the app</li>
  </ol>
  
  <p>And this is where is all goes wrong...</p>
  
  <p>I can't get the app running again, the app is building but I am getting an error saying:</p>
  
  <p>The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.</p>
  
  <p>(0xE8008016).</p>
  
  <p>Any ideas??</p>
  
  <p>UPDATE: I have managed to be able to run the application to get everything programmed and put in place, everything is set up iTunes Connect end, all provisions are valid and sync'd.</p>
  
  <p>Now I am getting errors during validation...</p>
  
  <p>There are 4: Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported by iOS. Specifically, key 'com.apple.developer.icloud-container-identifiers' in Payload ------- not supported</p>
  
  <p>Other 3 are similar for other containers!</p>