title: Enable iCloud on a Xcode project via script
body: <p>i am trying to setup a build server for a continuous building on a iOS project.
  Since that i need  to recreate the Xcode project very often (it is a build from unity), the iCloud will be reset to OFF.</p>
  
  <p>I can copy the entitlement file (with the iCloud key) via script but i still need to click on the actual checkbox to turn iCloud ON.</p>
  
  <p>I managed to change the XC project manually but it is not very safe, due to possible changes on XC project structure.</p>
  
  <p>Do you know a better way to do this?
  Cheers!</p>