Last year when Apple introduced the AppLoader application I did a post on how to upload your app to App Store using it (here); since this post gets quite a lot of hits I thought it was about time to post how to upload to the App Store using XCode4.
Create a new application in iTunes connect
First go to iTunes connect and login with your developer account.
Go to “Manage your Applications” and click “Add new App”; fill in your new application’s details, like so:
Hopefully you already have your app coded and tested, and ready to upload to the app store. Make sure you have the same Bundle ID in your Info.plist file and in the app record in iTunes Connect.
Go in your app’s details page and choose “Ready to Upload Binary” button.
Let’s upload the app bundle.
Uploading to the App Store with XCode 4
From the top-left drop down choose the Scheme you want to build and the iOS device (or if you have a device connected the name of the device will be displayed in the list)
Now from the menu choose “Product” and then “Archive…”
XCode will clean automatically the project and do a build:
then it will archive the application:
and when it’s finished the Organizer will pop-up (if it does not choose from the menu – “Window” then “Organizer”)
Now your application is archived – you can share the IPA with a beta tester, submit to the App Store, etc.
Let’s submit to the App store for review: Click on the “Submit…” button – a popup appears asking for your developer credentials (enter the same user and pass you usually use for iTunes connect):
Click “Next” and you will see 2 drop lists – the first shows you all your apps which are in state “Waiting for upload” – pick the app your are uploading right now, the second shows you all the available certificates to sign the IPA – choose your distribution certificate:
When you choose those two and click Next the upload process starts (yes, XCode 4 does everything for you inside the IDE):
When the upload finishes you get a confirmation that your app has been validated and there were no issues and it will be passed on for further review to the App Review team. And that’s all folks!
I must say the process using XCode 4 is much better than anything we had in the past and I personally like it very much. Good luck with your submits and if you liked the post share it and leave a comment.The post was originally published on the following URL: http://www.touch-code-magazine.com/how-to-upload-an-app-to-the-app-store-with-xcode-4/