I have created an app in App Store Connect and it has been in the \"prepare for submission\" state for more than 3 days. When I try to archive my app, and submit it to the a
Once check this.
Open your .plist file and check for "Bundle OS Type code" key. If that is not there, add a row and give that key and check the type it should be a string. And give "APPL" as value.
Clean the project and go for Archive.
I hope it will work for you.
if your bundle id carried a capital letter and you've changed it to a lower case letter, you must run the application in the simulator before attempting to archive and upload to app store connect (this was the issue and solution for me).
Make sure this is included in your Info.plist:
<key>CFBundlePackageType</key>
<string>APPL</string>
I had APPL misspelled as AAPL. Once I fixed that and signed into Application Loader and Xcode with the same Apple ID, everything worked.
Just check that app you configured on iTuneconnect is having same bundle identifier that you are using to upload app.
Chek your app ID in the Apple Developer Center. Then, use exactly the same name in Bundler Identifier.
In my case the problem was that my application had literally no information filled in the App Store Connect