First, preface:
As a ioser, it is necessary to upload the app you have developed to the App Store. Here is a detailed explanation of the specific process steps.
Second, prepare:
- A paid Developer account (account type is divided into individual (individual), companies, Enterprises (Enterprise), Universities (University) four types, the annual tariff is $ $, $ $, $299, free. )。
- A project that has been developed and completed.
Third, check:
- Your Xcode must be the official version, and the beta version of Xcode is not able to upload the project.
- The OS x system for the MAC you're uploading must also be a full version, and the beta version won't work.
- Please make sure that the Xcode you install is downloaded from the App Store or the developer's website, not from the installation package obtained from other sources, because the unofficial download of Xcode may have a xcodeghost virus. How to check?
Check method
Iv. Generating a publishing certificate
Open Apple Developer Center: https://developer.apple.com
Open and click: Account
Apple Developer Center
Enter the Apple account and password you've already paid to log in (if your computer has a password, it will go directly)
Developer Login Account
Click: Certificates, Identifiers & Profiles (specially generated certificate, bundle ID, binding device device, where to generate the profile)
Member Center
Click Certificates to generate the certificate
- Choose iOS, TvOS, WatchOS
- Select All
- Click Add a new certificate in the top right corner
Add a new Certificate 1
Select Production certificate (choose App Store and Ad Hoc) because it is an app upload
Select App Store and Ad Hoc
Note: A developer account can only be created (1-2 Development (test) certificates, 2-3 production (release) certificates), if your app Store Ad Hoc front button can not be selected, then the representative of your account can no longer create a new production certificate.
Workaround:
- Generate the. p12 file from the person who used the account together and import your own computer. (Try not to perform the 2nd step below)
- 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 you regenerate it and then use the. P12 to re-import your computer!
Note: If you want to remove the certificate, perform the following steps, otherwise skip.
Delete a certificate
Then, the production Certificate section continues.
Generate Certificate 2
Generate Certificate 3
Generate Certificate 4
Upload the CSR file to get the certificate (the CSR file needs to be created in the local keychain)
- On the other inside of Launchpad, click on Keychain access to pop up the following screen
Other
Keychain Access
- Toolbar Select Keychain Access, Certificate Assistant, request a certificate from a certification authority ...
Request a Certificate
Certificate information
- Save the CSR file to a location on your Mac disk (I chose the desktop to store it here)
Storing certificates
Click Finish
Certificatesigningrequest.certsigningrequest file
Then go back to the browser and click Choose File.
Select a CSR file
Select Create a good: Certificatesigningrequest.certsigningrequest file, click Select
Select a CSR file
Click Generate to upload the certificate
Upload CSR Certificate
Jump to the following screen, click DownLoad to download the generated certificate (the CER suffix file), then click Done, and the published certificate you created will be stored in your account.
Download the generated certificate
CER suffix file
Note: This certificate can only be downloaded once. After clicking on the download, you can no longer return to the download page after you close the page.
If you do not need to use the other computers, skip the following add-ons directly, jump to the fifth step (bind bundle Identifier)
Add-ons: Generate P12 files to use this publishing certificate on other computers
- After you double-click Install certificate, open keychain Access, select the installed certificate right-click
Install the publishing certificate
Note: If you do not have an export , you can remove this certificate and double-click the downloaded certificate file to install it.
- Export certificate
Export certificate
- Storing certificates
Store the exported certificate
Note: The stored file format must be.p12
- Set Password
You can set a password for the certificate, or you can not set the password, or if you set a password, you will be prompted to enter the password when the certificate is installed, otherwise it cannot be installed. The password is not set here.
Set Password
- Save the exported certificate
P12 Publishing Certificates
If you need to be able to publish apps on other computers, you'll have to install this publishing certificate.
Create app IDs and bundle Identifier for your app
Back to just page: https://developer.apple.com/account/ios/identifiers/bundle/bundleList.action
Click on the app IDs to enter the following screen, click the + sign in the upper right corner
Click App IDs
Fill out the app IDs and bundle Identifier
Fill out the app IDs and bundle Identifier
Attention:
- Upload the app using bundle Identifier (do not have--all English + numbers) must be fixed and cannot use placeholders.
- If your bundle identifier is already bound on the site, if you change the bundle identifier in your project, you need to re-enter the developer account to bind.
Modify the project bundle Identifier
Below you choose the services included in the app, there are two defaults, and the rest are selected according to your project's needs
APP Services
Click Continue
Click Continue
Click Register
Click Register
Click Done
Click Done
Vi. Generate a profile (the role of the description file is to associate the certificate with the bundle identifier)
Find provisioning Profiles, click on all, then click on the upper right corner + sign
Provisioning Profiles
Because it is a release, so choose the following app Store this profile, click Continue
Select App Store
In the App ID tab, find the package you just created: app IDs bundle Identifier, click Continue
Select the bundle Identifier to publish the project
Select the publishing certificate you just created (or the one that generated the P12 file), select it based on the published certificate date on your computer, and click Continue
Select the published certificate you created
Enter a name in the Profile Name field (this is the name of the PP file, you can enter it, here I use the project name, easy to separate), and then click Generate
Give a name to the description file
Download generated pp file, and then click Done, double-click Install (Flash on the finished, no other effect)
Download generated pp file
The generated description file
Six, open up space in the App Store
Back to member Center, click itunes Connect
Click itunes Connect
Login to the developer account (or the previously paid account)
Snip20160315_68.png
After the login is successful, click on my app
Click on my App
Click on the + sign in the upper left corner, click New (Note: We are developing iOS app, don't choose Mac App)
New APP
Follow the prompts to fill in the corresponding information (SKU is the company used to do statistical data such as ID, according to the company needs to fill out), and then click Create
Fill in the app information
Note: If you fill it out, you may be told that your app name is already occupied, so sorry, you can only rename! (And it is recommended that you do not rely on the more famous app, otherwise the audit may be rejected)
Fill out the app additional information
App Info
Fill in the price and the scope of sales (because my developer account does not have a tax contract, so not online charging application, so only temporarily free)
Fill in the price and sales range
In turn, pull the different size apps into the corresponding
Need to fill in the 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 the simulator to 100% And then command plus S) the size reference table is below
Set up apps of different sizes
Dimension reference diagram
Dimension reference diagram
Fill out the app introduction
Fill out the app introduction
Follow the prompts to enter
Follow the prompts to enter
Error message: If the Upload app icon fails to prompt for Alpha error, look below.
Open your icon picture and tick off this
Check this out.
Click Edit after the rating, fill in truthfully, click Finish
Grading information
Fill in the Audit information
Fill in the Audit information
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)
At this point the build has not been generated, we first fill out the basic information, and then into Xcode to send the project package to come over.
Note: Be sure to click Save in the upper right corner when completing.
VII. Packaging Engineering in Xcode
Find the release certificate you just downloaded (suffix. cer) or the P12 file, and the PP file, double-click to look unresponsive, but they are already added to your keychain.
Select iOS Device in Xcode (you can't choose an emulator here), follow the prompts
Select iOS Device
If your app doesn't support horizontal screens, remove the two hooks
If your app doesn't support horizontal screens, remove the two hooks
View version number and build version number
View version number and build version number
Configuring the Publish certificate (PS: When the selected certificate is wrong, please note that to choose to publish the certificate)
Configure Publishing certificates
Note: If there is no yellow exclamation point, it means that 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?
Check
Remove breakpoints, global breakpoints, zombie mode, and more.
Remove breakpoints, global breakpoints
Snip20160315_36.png
Snip20160315_37.png
Remove Zombie Mode
6. Set Release mode (Debug is test, release is for release)
Snip20160315_39.png
Snip20160315_40.png
Snip20160315_41.png
Snip20160315_42.png
7. Select Archive under Product under Xcode (specifically for the project, or package project)
Select Archive
Snip20160315_45.png
Snip20160315_46.png
8. Note that you did not add the developer account, click the bottom right add ... button to add
No developer account added
9. Enter a paid developer account
Enter developer Account
May pop up below this interface, if not eject, press command Add.
10. Then go back to archive (select Paid account), then click Choose
Select a paid account
And then wait.
Wait
11. Select Upload Submit
Upload Submit
12. The following is the upload success, if the error, please refer to the iOS app upload project encountered problems
Upload successful
13. Go back to your own app information on the Itunesconnect website to see
View in App Info
14. You can add code here in this build version
Add code
Select the code version after clicking the + sign
Add Build Version
15. Submit for review
Submit for review
16.APP has been submitted from preparation and is waiting for audit status
Waiting for audit status
17. Wait for Apple's review ...
Eight, add 1, build version of the method there are two, one is to use Xcode (described above), the other is to use a call application Loader this software:
Application Loader
Build your version with Xcode:
Above already introduced (already archive words, can enter in Xcode:window, organizer)
Upload to App Store ...
Build version with Application Loader:
- For example, click "Export ..." to export an IPA file (ps: For the sake of insurance, let Apple audit smoothly, here you can first click "Validate ..." to verify, here is not bothered to verify)
- Application Loader download Xcode when it has been downloaded (no, please download it yourself), Xcode right-click to pop up the following interface
Open Developer Tool
Open Application Loader (if you are not logged in, you will be prompted to login to your developer account)
Application Loader
Choose your exported IPA file (or double-click "Deliver your Application" to select an IPA file), then follow the prompts to do the line, upload completed without error, in a few minutes or so can be in itunes Connect inside can see you upload this version.
iOS online process