IOS-the most comprehensive App shelving tutorial and iOS-App shelving tutorial

Source: Internet
Author: User
Tags key string

IOS-the most comprehensive App shelving tutorial and iOS-App shelving tutorial

From: http://www.jianshu.com/p/cea762105f7c

 

  • If you want to test the real machine before mounting the App, View
    IOS-the most comprehensive real-machine testing tutorial shows how to enable multiple computers to simultaneously Mount apps and debug real-machine devices. Usage of P12 files
Since Xcode 8 has been updated recently, the certificate creation process is similar, but there are some changes in the settings in Xcode 8. I will add them below. If you have any questions, please contact me ..

NoteYou can also set the certificate in the Build Setting sign, but it is a little troublesome. It is recommended to set the Certificate in General for convenience and check the error.


Xcode 8 certificate setup preparation
  • Developer account
  • Finished Project
Mounting procedure
  • 1. Create an App ID
  • Ii. Create a certificate request file (CSR file)
  • 3. Create a certificate for publishing (CER)
  • 4. Create a Provisioning Profiles configuration file (PP file)
  • 5. Create an application in the App Store
  • 6. Packaging and mounting
1. Create an App ID
  • 1. Open the apple Developer Network and click "Account" to log on to the member center.

 
 
 
  • 2. Fill in the information to create the app ID

    Click + create ID

 
 
 
Ii. Create a certificate request file (CSR file)

The CRS file is mainly used to bind your computer

  • 1Click LaunchPad and find the key string for access from others.



    ! [Uploading 3_933887.png...]
  • 2Click the key string in the upper left corner of the computer to access-certificate assistant-request a certificate from the Certificate Authority


 
  • 3The following page is displayed. Select "store to disk" and click "continue ".

 
  • 4Select storage to desktop, storage


     
  • 5Click Finish


     
  • 6The following file is displayed on the desktop. The certificate request file is complete.


     
3. create and publish a certificate (CER file)
  • 1Find Certificates, click All, and then click the plus sign in the upper right corner.


     
  • 2Click App Store and Ad Hoc


     
You must create and perform the following two operations to publish the certificate and developer certificate. The developer certificate is used for real-machine debugging and the issued certificate is used for submission to the AppStore.
  • 3.Click Continue


     
  • 4.Click Continue


     
  • 5.Click choose File .. select the created certificate request File: CertificateSigningRequest. certSigningRequest, and click Generate


     
  • 6.Click Download to Download the created publishing Certificate (the file with the cer suffix), and then click Done. The created publishing certificate will be stored in the account.


     
  • 7.Double-click to install. If the installation fails, you can drag the Certificate file to the key string access list.

    Key Points: Generally, creating a publishing certificate for a developer account is enough. If you need to mount an App on another computer, you only need to create the p12 file in key string access, install the p12 file on another computer. This grants other computers the permission to publish APPs.

4. Create a Provisioning Profiles File
  • 2.Select App Store and click Continue


     

This process also needs to be performed twice to create the pp certificate for development and the published PP certificate respectively.

  • 3.In the App ID Option bar, find the App IDs (Bundle ID) package you just created and click "Continue ".


     
  • 4.Select the issued certificate you just created (or the published certificate that generates the p12 file) and click Continue


     
  • 5.Enter a Name in the Profile Name column (this is the Name of the PP file. You can enter it as needed. Here, I use the project Name to separate them), and then click Generate


 

Note: The certificates in wildCard format are not pushed, and PassCard and other service applications are selected with caution. Because the developer certificate of the PP certificate requires debugging on the real machine, we need to bind the real machine. Because some devices have been added before, you can directly select all the devices here. If not, copy the real machine's udid and add it here. This step is not taken in publishing the PP file.

  • 6.Download the generated PP file, and then click Done

     

Double-click it and add it to Xcode. In this way, different PP certificates correspond to different certificates when debugging or publishing a real machine. In fact, you do not need to download and save

5. Create an application in the App Store
1. Return to the Account and click iTunes Connect.


 

2. Click my App


 

3. Click Create iOSApp


 

4. Enter the corresponding information as prompted, and then click Create


 

5. Pull apps of different sizes into corresponding ones in sequence


 

6. Enter the App introduction.


 

7. input as prompted


 

At this point, the build version has not yet been generated. We first fill in the basic information, and then enter Xcode to package the project and send it to it. Note: after entering the information, you must click Save in the upper-right corner.


 

Do not forget to enter the test account. Otherwise, the test account will be rejected, and you must say yes to your server colleague. Do not delete the test account. Otherwise, the test account will be rejected (the contact number must be + 86 for example: + 86 13720329661)

6. Packaging and mounting

In Xcode, package the project and find the certificate you just downloaded (Suffix. cer) or p12 file, and PP file, double-click, does not seem to respond, but they have been added to your key string. If you have performed the preceding operations, skip this step.

1. Open Xcode and configure the project environment. Click + to select Add Apple ID. Click View Details to View the Certificates and Provisioning Profile certificate files under this Apple Id, here you can click to download. In the Identity under the Targets project, select the corresponding Apple ID for the Team.

Note: The Apple ID entered here is not the one created on your mobile phone. It must be the developer account and password (~ QAQ ~ I am stuck here)


 

2. Select the simulator as iOS Device and follow the prompts.


 
 
 

3. Modify the. plist file. Both. plist files must be modified.


 

4. Archive package online. Select Product> Archive in the real machine status. Archive is unavailable in gray if it is not in the real machine status ).


 

5. After packaging, an ipa file is generated, and then my App ~~ is returned ~~ Click Application Loader to download the build version, and then upload the ipa file to the appstore..

Here we insert a knowledge point iOS package-method in api package 4
 
 
 
 

Problems During Packaging


 

Solution: iOS-UUID error solution during packaging

Application Loader upload Error

Solution: ERROR ITMS-90158: "The following URL schemes found in your app are not in the current format: [XXX]." deleting The XXX path in schemes is as follows:


 

6. After the program is successfully sent, return to my App and refresh the page. A + number will be displayed at the build version. Click the + number to add the sent program.

7. submit for review

If you want to test the real machine before mounting the App, View

IOS-the most comprehensive real-machine testing tutorialIt contains how to enable apps and real-time debugging on multiple computers at the same time. Usage of P12 files



Author: flying with dreams
Link: http://www.jianshu.com/p/cea762105f7c
Source: Simplified book
Copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source.

Related Article

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.