if you have issues doing this, send me an email at info @ adeem.me to do this for you but then you have to donate me something
It took me 3 days to submit my first application on Appstore, its not very complicated but you have to follow many steps to do it right. So today one of my friend Naeem requested me to write down the steps for him.
I assume that you have iPhone Developer License. Please follow the following steps, one by one:
Certificate is very important part for submitting or testing your application on iPhone. It has the code-sign(Signatures) which will be checked when you submit your application on apple store or to test it on your iPhone. (You can bypass those to install application on your jail-break iPhone or to submit it to Cydia but you will not be able to submit it to appstore. Check my previous post to bypass code signature).There are two steps to create a certificate from developer portal. I simply copied those two from “iPhone developer portal”
- Generating a Certificate Signing Request
- Submitting a Certificate Signing Request for Approval
Generating a Certificate Signing Request
- In your Applications folder, open the Utilities folder and launch Keychain Access.
- In the Preferences menu, set Online Certificate Status Protocol (OSCP) and Certificate Revocation List (CRL) to “Off”.
- Choose Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority.
- In the User Email Address field, enter your email address. Please ensure that the email address entered matches the information that was submitted when you registered as an iPhone Developer.
- In the Common Name field enter your name. Please ensure that the name entered matches the information that was submitted when you registered as an iPhone Developer.
- No CA (Certificate Authority) Email Address is required. The ‘Required’ message will be removed after completing the following step.
- Select the ‘Saved to Disk’ radio button and if prompted, select ‘Let me specify key pair information’ and click ‘Continue’.
- If ‘Let me specify key pair’ was selected, specify a file name and click ‘Save’. In the following screen select ‘2048 bits’ for the Key Size and ‘RSA’ for the Algorithm. Click ‘Continue’.
- The Certificate Assistant will create a CSR file on your desktop.
Submitting a Certificate Signing Request for Approval
- After creating a CSR, log in to the iPhone Developer Program Portal and navigate to ‘Certificates’ > ‘Development’ and click ‘Add Certificate’.
- Click the ‘Choose file’ button, select your CSR and click ‘Submit’. If the Key Size was not set to 2048 bits during the CSR creation process, the Portal will reject the CSR.
- Upon submission, Team Admins will be notified via email of the certificate request.
- Once your CSR is approved or rejected by a Team Admin, you will be notified via email of the change in your certificate status.
Download/Installing Certificate on your machine
- Upon CSR approval, Team Members and Team Admins can download their certificates via the ‘Certificates’ section of the Program Portal. Click ‘Download’ next to the certificate name to download your iPhone Development Certificate to your local machine.
- On your local machine, double-click the downloaded .cer file to launch Keychain Access and install your certificate.
Certificate is installed on your MAC now the next step is create a App ID. (Note:You have to follow this step only once and later you don’t have to make certificates for your other applications.)
Creating an App Id is very easy, you have to follow few simple steps:
- Log in to the iPhone Developer Program Portal and navigate to ‘App IDs’ and click ‘Add Id’.
- In “App Id Name” enter the name of your application (i.e iphoneapp) and in “App Id” enter something like com.yourdomain.applicationame (i.e com.adeem.iphoneapp) and clicked on Submit
- Please write done the “App Id” because you will used this in Info.plist, Bundle identifier tag
Now the next step is to create a Provisioning File for your Xcode and this will be your last step for creating binary which you submit it to appstore.
- In to the iPhone Developer Program Portal and navigate to ‘Provisioning’ > ‘Distribution’ and click ‘Add Profile’.
- Now select “App Store” in “Distribution Method”
- In “Profile Name” type your application name (i.e iphoneapp) which will be your provisioning profile name as well.
- In “App ID” select the app name (i.e iphoneapp) which you created in Step 2
- Download the Provisioning profile and copy it to your /YourUserName/Library/MobileDevice/Provisioning Profile
Now everything is step up, open your project in Xcode
- Select your project from “Group & File” in left side bar and click on “i” ( info ) button.
- Move to “Configuration” tab and select “Release”. Press the “Duplicate” button from bottom, name is “iphoneDistribution”.
- Click on “Build” tab and select “iphoneDistribution” and type in “Search in Build Settings” filed ‘Base SDK’ and select the current selected Device and change it to what device your application is targetting ( I prefer “Device – iPhone OS 2.0)
- Now in “Search in build setting” field type “code signing identity” and select the provisioning profile you created in Step 3. Also do the same thing for the child property “Any iPhone OS Device”.
- Now Close the Info screen and select the “Target” > “YourApp” from “Group & File” in left side bar and clicked on “Info” button again from Xcode.
- Repeat the step 3 and 4 again for safe side.
- Now Info screen is still open clicked on “Properties” tab and in Identifier field type the “App Id” (i.e com.adeem.iphoneapp)
- Everything is set up, click on “Build”(cmd+B) from Xcode>Build
- Now right click on “Product”>”YourApp” and select “Reveal in Finder”. This is your binary file so please zip this file.
Now you are done from Xcode and iPhone Developer Protal. Now you will submit this binary to itunesconnect.
- In your browser type https://itunesconnect.apple.com/ (this website is very slow over https) and login using your iphone developer account.
- Click on “Manage Your Account” > “Add Application”
- Now answer simple question from apple and submit your application to appstore. Few thing you should have before you submit your application there in System/Mind:
- Application Name ( must be uniqe)
- Application description
- Application Category
- URL for your application feedback
- Icon of your application in 512×512 size
- Main picture of your application in 320×480 or 320×460 size. (Optionaly you can submit up to 4 more pictures of your application as well)
That’s all you need to do (Please post anything in comments that I missed and I will update the post) Not very long but it might take 2-3 hours!
Please feel free to ask any questions or problem you face during submitting your application to Apple Store.
Popularity: 26% [?]