Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode App Creation Error : STATE_ERROR.APP_CREATE.PLATFORM_NOT_ALLOWED_DUE_TO_CONTRACT_STATE

Just wanted to share the solution from a problem not yet addressed on Stack Overflow apparently.

From Xcode, when trying to distribute an iOS app on the App Store (via archive => distribute), I face this error:

App record creation failed due to invalid input. Request failed with error code "STATE_ERROR.APP_CREATE.PLATFORM_NOT_ALLOWED_DUE_TO_CONTRACT_STATE", and reason "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."

A screenshot of the error returned by xcode

like image 516
Amaury Belin Avatar asked Sep 13 '25 16:09

Amaury Belin


1 Answers

WHAT DOES THAT MEAN

It means you have some agreements / contract that you need to validate on app store connect.

SOLUTION

Connect to app store connect and agrees with last contractual elements set up by apple. https://appstoreconnect.apple.com/agreements/

like image 71
Amaury Belin Avatar answered Sep 15 '25 07:09

Amaury Belin