iOS online process

Source: Internet
Author: User
Tags csr certificate

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:
    1. A paid Developer account (account type is divided into individual (individual), companies, Enterprises (Enterprise), Universities (University) four types, the annual tariff is $ $, $ $, $299, free. )。
    2. A project that has been developed and completed.
Third, check:
    1. Your Xcode must be the official version, and the beta version of Xcode is not able to upload the project.
    2. The OS x system for the MAC you're uploading must also be a full version, and the beta version won't work.
    3. 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
  1. 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
  2. Click: Certificates, Identifiers & Profiles (specially generated certificate, bundle ID, binding device device, where to generate the profile)


    Member Center
  3. Click Certificates to generate the certificate

    1. Choose iOS, TvOS, WatchOS
    2. Select All
    3. Click Add a new certificate in the top right corner

      Add a new Certificate 1
    4. 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:

      1. 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)
      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 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
    5. Upload the CSR file to get the certificate (the CSR file needs to be created in the local keychain)

      1. On the other inside of Launchpad, click on Keychain access to pop up the following screen

        Other

        Keychain Access
      2. Toolbar Select Keychain Access, Certificate Assistant, request a certificate from a certification authority ...

        Request a Certificate

        Certificate information
      3. 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
    6. Then go back to the browser and click Choose File.


      Select a CSR file
    7. Select Create a good: Certificatesigningrequest.certsigningrequest file, click Select


      Select a CSR file


      Click Generate to upload the certificate


      Upload CSR Certificate
    8. 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
    1. 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.
      1. Export certificate

        Export certificate
      2. Storing certificates

        Store the exported certificate
        Note: The stored file format must be.p12
      3. 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
      4. 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

    1. Click on the app IDs to enter the following screen, click the + sign in the upper right corner


      Click App IDs
    2. Fill out the app IDs and bundle Identifier


      Fill out the app IDs and bundle Identifier


      Attention:

      1. Upload the app using bundle Identifier (do not have--all English + numbers) must be fixed and cannot use placeholders.
      2. 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
    3. Click Continue


      Click Continue
    4. Click Register


      Click Register
    5. Click Done


      Click Done
Vi. Generate a profile (the role of the description file is to associate the certificate with the bundle identifier)
    1. Find provisioning Profiles, click on all, then click on the upper right corner + sign


      Provisioning Profiles
    2. Because it is a release, so choose the following app Store this profile, click Continue


      Select App Store
    3. 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
    4. 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
    5. 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
    6. 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
  1. Back to member Center, click itunes Connect


    Click itunes Connect
  2. Login to the developer account (or the previously paid account)


    Snip20160315_68.png
  3. After the login is successful, click on my app


    Click on my App
  4. Click on the + sign in the upper left corner, click New (Note: We are developing iOS app, don't choose Mac App)


    New APP
  5. 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)

  6. Fill out the app additional information


    App Info
  7. 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
  8. 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
  9. Fill out the app introduction


    Fill out the app introduction
  10. 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.
  11. Click Edit after the rating, fill in truthfully, click Finish


    Grading information
  12. 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)

  13. 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.

    1. Select iOS Device in Xcode (you can't choose an emulator here), follow the prompts


      Select iOS Device
    2. If your app doesn't support horizontal screens, remove the two hooks


      If your app doesn't support horizontal screens, remove the two hooks
    3. View version number and build version number


      View version number and build version number
    4. 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
    5. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.