https://www.jianshu.com/p/8fdc5627b44d
Reprinted from ThomasYB
I. Introduction:
As an iOS developer, worked hard to develop out of the App uploaded to the App Store is a necessary thing. But many people still do not know how to upload to the App Store
Here's to explain in detail the specific process steps.
Second, prepare:
A paid developer account (can be divided):
Account types are divided into:
Individual (Individual)
Company (Company)
Enterprise (Enterprise)
Universities (University)
four types
Annual rates were 99, 99, $ 299, free of charge.
A project has been developed.
Third, check:
Xcode must be installed in the official version, beta version of Xcode project can not be uploaded to the App Store.
The Mac OS X systems must also be used to upload the official version, beta version does not work.
Make sure you install Xcode is downloaded from the App Store or the developer's website
Because unofficial channels may download Xcode with XcodeGhost virus. How can I check?
Fourth, generate a certificate issued
1. Open Developer Center Web site: https://developer.apple.com
2. Click: Account
3. Enter your account number and password
4.点击:Certificates, Identifiers & Profiles
Special place to generate a certificate, bind Bundle Id, the binding device equipment, generated description file
5. Click Certificates generate a certificate
Select iOS, tvOS, watchOS
Select All
Click on the top right of the newly added certificate
6. Select the production certificate (select App Store and Ad Hoc)
1 Note: You can only create a developer account (1-2 Development (test) certificate, 2-3 production (release) certificate), if your front AppStoreAdHoc button can not be selected, it means you no longer have this account create a new production of the certificate. Solution 2: 3 .p12 file generated from the common people use this computer account, import your own computer. (Try not to execute the following step 2) 4 If you want to generate, then delete the existing one (proposed to delete the time quite early). Note: If you delete a certificate, it is using this certificate will no longer be used, unless regenerate, and then re-import the .p12 use your computer! 5 Note: If you want to delete a certificate, perform the following steps, otherwise skip.
7. Upload the CSR file to obtain a certificate (CSR file we need to go to the machine keychain created)
In other inside Launchpad, click the Keychain Access menu, the following interface
Toolbar choose Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority ...
Save the CSR file to a location MAC disk (here I chose the desktop storage)
Then back to the browser, click choose File ..
Choose to create good: CertificateSigningRequest.certSigningRequest file, click to select
Click Generate Upload certificate
Jump to the following screen, click on the DownLoad download the generated certificate (cer file suffix), and then click Done, you create a publishing certificate will be stored in the account.
Note 1:
2 This certificate can only be downloaded once. Click to download, after the close pages can not go back to the download page.
If no other computer 3 to use, the following additional items skip, jump to the fifth step (binding Bundle Identifier)
Additional items: Use this file to generate p12 issued certificates on another computer
Double-click the certificate is installed, open Keychain Access, choose to install the certificate, right-click
1 Note: If you do not export, you can delete this certificate, and then re-double-click the downloaded file to install the certificate.
Export Certificate
Store certificates
Note: it must be stored in a file format .p12
set password
Can set a password for the certificate, may not set a password; If you set a password, so when other people install this certificate is necessary to enter a password, or can not install.
Fifth, create App IDs and binding Bundle Identifier of your App
https://developer.apple.com/account/ios/identifiers/bundle/bundleList.action
Note 1:
Bundle Identifier 2 uploaded App use, not use the placeholder.
3 If your Bundle Identifier is already bound on the website, but if you modify your project inside the Bundle Identifier, then, need to re-enter the developer account was binding.
Select App service included, there are two default
Sixth, created profile
Find Provisioning Profiles, click All, and then click the top right corner of the +
Select the following description App Store this file, click Continue
Seven open space in the App Store
Back to the Member Center, click iTunes Connect
Note: If you have filled in the future, may tell you that your App name is already taken, you can only renamed!
Eight, packaged project in Xcode
Find release certificate you just downloaded (suffix .cer) file or p12, and PP file, double-click, look no reaction, but they've added to your keychain.
Select iOS Device in Xcode (where the simulator can not be selected) according to the instructions of FIG.
Note: If there is no yellow exclamation mark, on behalf of your configuration no problem, if there is, that is, certificates and profiles do not match, or inconsistent BundleIdentifier description file just choose the Bundle and now works go on develop.apple.com find your profile in the binding confirmation bundleIdentifier and your project is not the same?
APP waiting for audit ...
Eight, supplement
There are two methods builds
One is to use Xcode (has been described above)
Another is to use a software called Application Loader:
Author: Overnight fried rice
link: https: //www.jianshu.com/p/8fdc5627b44d
Source: Jane book
Jane book copyright reserved by the authors, are reproduced in any form, please contact the author to obtain authorization and indicate the source.