"To" iOS developers to apply for the release of certificates and real-computer debugging graphics detailed

Source: Internet
Author: User

Original URL: http://www.tqcto.com/article/mobile/57822.html

Open iOS Dev Center, select Sign In, login (at least $99 account), log on to the right of the page Certificates,identifiers & Profiles, select Identifiers. App ID (bundle identifier)

The app ID is the product ID used to identify one or a group of apps.

The APP ID should be consistent (EXPLICIT) or match (Wildcard) with the bundle identifier in Xcode.

The APP ID string is typically prefixed with company Identifier (Prefix/seed) in the anti-domain name (reverse-domain-name) format, which generally does not exceed 255 ASCII characters.

1, App ID Description: This part is just a code of your ID, just fill in a name you can distinguish, in the later application certificate and description file will be related to the selection

2, App ID Prefix: This part is Team ID, system default, no need to fill in

3, App ID Suffix: This part is app ID suffix, can choose Explicit app ID or wildcard app ID


The full APP ID will be appended application Identifier Prefix (typically teamid.), divided into two categories:

    • Explicit App ID: A unique app ID that uniquely identifies an application. For example, the app id "Com.apple.garageband", which identifies the app with bundle identifier as "Com.apple.garageband".
    • Wildcard App ID: an app ID with a wildcard that identifies a group of applications. For example, "*" (actually application Identifier Prefix) represents all applications, whereas "com.apple.*" can represent bundles Identifier with "com.apple." Start (apple) for all applications.

4. App Services: service provided by the application

App Services: Select the services you will use in your app and edit your selection again after the app ID is registered successfully
On the options used in your own application to play √, because I choose a universal type (WildCard), so the game Center,in-app Purchase, Push notifications are not optional, if you want to use these features, select the exact type ( EXPLICIT)

After completing the above, select Continue

5. Confirmation of information

After confirmation, select Submit, the Word registration complete will appear, select Done.

Users can register (register) or delete (delete) Registered app IDs on the developer Membercenter website. The app ID is configured under Xcodetarget->info->bundle Identifier, for wildcard app ID, as long as the Bundle Identifier contains it as prefix/seed.
Two. devices (device)

Device is the one that runs the iOS system for developing debugging apps. Each Apple device uses UDID to uniquely identify it.

1. After the iOS device is connected to the Mac, the iphone's Udid (identifier) can be obtained via itunes->summary or xcode->window->devices.

The combination of a string of letters and numbers after the Identifier is Udid

2, back to the Apple Developer Center, select devices->all, in the right column, select the "+" number, add the device

The devices in the Apple Member Center website's personal account contains all registered devices that can be used for development and testing, and the average personal Development Account can register up to 100 devices per year.

Users can register or enable/disable (enable/disable) registered device on the website.
Three. Certificate (certificates)
1. Concept of certificates

A certificate is a document issued by a notary office or a certifying authority, which is a document indicating (or helping to determine) an affair. The tail of a document or voucher is usually stamped with the seal.

2. The digital certificate Concept digital certificate is a serial number that marks the identity of the communication parties in Internet communication, and provides a way to verify the identity of the communication entity on the Internet. It is issued by an authority--CA agency, also known as the Certificate Authority (Certificate authority), which can be used on the Internet to identify each other.
    • A digital certificate is a file that is digitally signed by the Certificate Authority center that contains public key owner information and a public key. The simplest certificate contains a public key, a name, and a digital signature for the Certificate Authority Center.
    • Another important feature of digital certificates is timeliness: Valid only for a specific period of time.

The public key (public key) in the digital certificate is equivalent to the official seal.

The root certificate in a domain of authentication is the certificate issued by CA Certification Center, and it is the starting point of the trust chain . Installing the root certificate means trusting the CA certification Center.

To prevent GFW from having a man-in-the-middle attack (MitM), such as tampering with a GitHub certificate, and not having access to GitHub sites, you can choose not to trust cnnic:

3.iOS (development) Certificate Request procedure

iOS certificates are digital certificates used to certify the legality and completeness of iOS app content (executable code). For Applications (apps) that want to be installed on a real machine or published to AppStore, only signature verification (Signature Validated) ensures that the source is trustworthy and that the app content is intact and unaltered.

Add the development certificate as an example

1, choose Add Certificate, operation, select Continue

iOS certificates fall into two categories: development and distribution.

    • Development certificates are used to develop and debug applications: A Development certificate identifies you, as a team member, in a development provisioning pro File that allows the apps signed by the launch on devices.
    • Distribution is primarily used to distribute applications (depending on the type of certificate): A Distribution certificate identifies your team or organization in a Distribution provisioning profile and allows-to-submit your app to the store. Only a team agent or an admin can create a distribution certificate.

An ordinary personal Development Account can enroll up to 2 iOS development/distribution certificates, and users can delete (Revoke) registered certificate on the website.


2. How to generate the application certificate (csr:certificate Signing request) Introduction page

2.1 Turn on the keychain in your computer: Select launchpad-> Other keychain access

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

2.3, fill in the email address and name, click Continue storage, general storage to disk

Keychain will generate a CSR (Certificate Signing Request) file that contains the developer identity information, and Keychain access| A pair of public/private key pairs (this signing identity consists of a public-private key pair, Apple issues) will be added to the keys.

Private key is always saved in keychain access for Mac OS, the App;public key used for signing (CodeSign) is generally distributed with the certificate (with the provisioning profile, with the app). Verify the app signature verification. The user must protect the private key in the local keychain to take the security risk.

3, back to development interface, select continue, Upload certificate interface appears

4. Select Choose File to upload the certificate you just stored, and then select Generate

5. Download its certificate to local

Apple certification Authority Wwdrca (Apple worldwide Developer Relations Certification authority) will use private key for public in the CSR Key and some identity information are cryptographically signed to generate digital certificates (Ios_development.cer) and are documented (Apple Member Center).

Download the certificate from the Apple Member Center website and double-click on your Mac to install it (you can, of course, add a Development Account to the Xcode Auto-sync certificate and [build] profile).

Certificate Installation succeeded:

In keychainaccess| The arrow that precedes the private key in the key pair that is generated when the CSR is created in keys can be viewed to the certificate that contains its corresponding public key (Your requested certificate'll be is the official half of the key pair.);

In Keychain access| In certificates, expand the arrow in front of the installed certificate (ios_development.cer) to see its corresponding private key.


Four. Provisioning profile (Provisioning Profiles) 1, select Provisioning profiles->development, and select the iOS App on the right "+" sign 2, select Type Development, select Continue 3, select the app ID, select the Com.oschina.* I added earlier, select Continue

4. Select the certificate, select the development certificate that you just generated, and select Continue

5, select equipment, will appear equipment list, generally put all the equipment is added, convenient for multiple equipment debugging, select Continue

6, for this profile name, can not contain punctuation, choose generate

7. Select Download Double-click Install (if no download is required in xcode->preferences, select accounts login account to get provisoning profile option "PC requires networking")

Five. Configure Xcode

1. Choose Targets->you App Name->general

Check that the bundle ID matches the bundle in the app ID contained in the profile, select Targets->general view, since we are applying for a generic app ID, the bundle Identifier only need to be com.oschina. The beginning, you can fill in the back

2. Choose Targets->you app Name->build Setting->code Signing

2.1, Code Signing->provisoningprofile set to the above download Provisoning profile (Joanfen), can also be set to Automatic, Xcode will automatically match the profile (if there is no download required in xcode->preferences, select accounts login account, so you can see the corresponding options in provisoning profile [PC requires networking])

2.2, Code Signing->code Signing identity settings required certificates, debug General Settings Developer certificate, release settings distribution certificate

"To" iOS developers to apply for the release of certificates and real-computer debugging graphics detailed

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.