A tutorial on how to get a project on the shelves today
Get ready:
1. A developer account (need to pay the money,?? Good black)
2. A completed project
Check:
1. Your xcode must be the official version, not the beta version (cannot upload the project)
2. Make sure that your Xcode is installed from the App Store or from Xcode under the developer's website, rather than illegally acquiring the installation package because there may be ghost. How to check?
Let's go.
One. Generate a publishing certificate (the role of the certificate: similar to a driver's license, to prove your identity can be a developer of some action)
Open https://developer.apple.com Click Developer Center in the top right corner
Enter the Apple account number and password you have paid
Click on the certificates,identifiers&profiles option below (go to a dedicated generate certificate, bind bundle ID, bind device devices, generate a description file where)
Here we choose Certificates, generate the certificate
Then we select the iOS App in 1 locations (because we're uploading an iOS project) and then click Add a new certificate in the top right corner
Because we want to do the project upload, select the production certificate (choose the App Store that)
Note: A developer account can only be created (1-2 Development (test) certificate), 2-3 production (release) certificate), so if your app Store Ad hoc This location front button can not select, then the representative of your account can no longer create a new production certificate
1. Please take this p12 file from someone else and try not to perform the 2nd step below
2. If you want to generate the words, delete the existing one (the recommended deletion time compared to the previous) Note: If you delete a certificate, the person who is using the certificate will no longer be able to use it, unless it is regenerated and then re-imported into your computer using. P12.
Note: If you want to remove the certificate, perform this step, otherwise skim
And then the picture, the production certificate continues
At this time, we need to upload the CSR file to obtain the certificate, the CSR file we need to go to the local keychain to create
Inside the other, click on Keychain Access and then pop up the following screen
Then save the CSR file to a location on the computer disk where I chose the desktop to store
Then go back to the webpage and select the CSR file to upload
Locate the CSR file that you just saved to your desktop, and then click Open
Then jump to the following screen and click Download to download the generated certificate
Note: This certificate can only be downloaded once. Click after download. If you want to use it for another computer. Please continue looking down (need to export to. p12 format file to not run on the computer)
If you don't want to use it for another computer, jump directly to 2, bundle ID
Generate P12 file Use this publishing certificate on another computer, see here
After you install the certificate, open keychain Access, and then
Then right-click
Note (if you do not have an export, you can remove the certificate and double-click the downloaded certificate file again)
Then (you can set the password, you can not set the password, if you set the password, others double-click on the p12 you give the file you need to enter the password) here directly do not set the password, continue
Then I was saved on the desktop, then out of this! On the desktop
If you want to be able to publish your code on another machine, you will have to install this publishing certificate.
2. Bundle Identifier bundled with your app (bundle Identifier is your app's unique identity, like an ID)
Go back to the Web page (https://developer.apple.com/account/ios/identifiers/bundle/bundleList.action)
Under a name, you cannot use @,&,*, ', '.
The bundle ID used by the upload application must be fixed and cannot use placeholders
Open the project to find your bundle Identifier (do not have-, both English + digital) (after Xcode7.0, directly in this position to modify the bundle Identifier can, and then enter)
Note: If your bundle identifier is already bound on the website, if you modify the bundle identifier in your project, you need to re-bind the Web page.
Choose the services included in the app below, there are two defaults, the rest are selected according to your needs
Then click on the bottom done
3. Generate a profile (the role of the description file is to associate the certificate with the bundle identifier)
Because we are going to publish, so choose the profile published below
Then select the bundle Identifier for the project we want to publish
Then choose Publish certificate, according to the date of publishing certificate on your computer to select
Then give the description file a name.
Then download the description file, double-click Install (Flash on the finished, no other effect)
4. After downloading the description file. The journey to our website is not over yet. Need to go to this site to occupy the pit (that is, register your app name, if you have registered your app on the Itunesconnect URL, ignore 4).
Itunesconnect.apple.com
Then the developer account that paid the money can log in.
After the login is successful, we click on my app
Then click on the + sign in the top left corner to create our app
Then click New App (Note that we are developing iOS app, don't choose Mac App)
SKU Company used to do statistics such as the ID, according to the company needs to fill
If all are filled in, you may be told that your app name has been occupied, then I'm sorry, you can only rename! (And it is recommended that you do not rely on the name of the more famous app) otherwise the audit may be rejected.
Below our developer account does not have a tax contract, so not online charging application, so only temporarily free
Then the right side of this need to fill in a different size of the phone screen (that is, with different size of the simulator run, pick out at least 3 pages up to 5 pages and then drag to the response area) (in the simulator Command+s can save the screen to the desktop) (note: If the image dragged into the wrong size, Then make the simulator 100% and then command plus S) size reference table below
Dimension Reference
Error message: If the Upload app icon fails, if you are prompted with alpha error, look below.
Open your icon picture and tick this off.
Click Edit after rating to jump in
Truthfully fill out and click Finish
Release is: (and then the bottom of the selection of automatic publishing is if the audit passed, automatically uploaded to the App Store for download)
5. Configure Xcode's own project
Open your project first step, you cannot select the simulator here, select iOS Device
If the horizontal screen is not supported, remove these 2 hooks
Then view the version number and build version number
Then configure the Publish certificate
Then, if there is no yellow exclamation point, on behalf of your configuration is not a problem, if there is, that is, the certificate and description file does not match, or the description file just selected bundle and the current project bundle identifier inconsistent, to develop.apple.com Find your profile on the Confirm bundle identifier is not the same as your project?
and then continue. breakpoints, global breakpoints, zombie mode, etc. are all removed.
Then set the release mode (Debug is test, release is for release)
Then select Archive under Product under Xcode (specifically for the project, or package project)
Note: You did not add a developer account, click the bottom right add ... button to add the
Enter the developer account you bought for the money.
Then it may pop up this interface, if not popup by command Plus,
Then go back to that archive (choose Account, that's what we paid for) and then click Choose
And then wait.
Select Upload Submit Below
The following is the upload success, if the error, please refer to: http://www.cnblogs.com/lidongxu/p/5143453.html
Then go back to your own app information on the Itunesconnect website to see
And then this build will add code here.
Select the code version after clicking the + sign
Then after everything has been filled out, click Submit in the upper right corner of the page for approval, and then your app will go to the status of waiting for review (about 1 weeks will have the result, good luck)
And then my app is ready to submit, and it's waiting to be reviewed.
[IOS] App listing process [upload with archive]