title: XCode App Creation Error : STATE_ERROR.APP_CREATE.PLATFORM_NOT_ALLOWED_DUE_TO_CONTRACT_STATE
body: <p>Just wanted to share the solution from a problem not yet adressed on stack overflow apparently.</p>
  <p>From XCode, when trying to distribute an iOS app on the app store (via archive =&gt; distribute), I face this error :</p>
  <blockquote>
  <p>App record creation failed due to invalid input. Request failed with
  error code
  &quot;STATE_ERROR.APP_CREATE.PLATFORM_NOT_ALLOWED_DUE_TO_CONTRACT_STATE&quot;,
  and reason &quot;One or more platforms cannot be created for this app due
  to your provider's contract state. Creation of apps for the
  platform(s) iOS is not available due to your provider's contract
  state.&quot;</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/gCLa2.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/gCLa2.jpg" alt="A screenshot of the error returned by xcode" /></a></p>