Application and download certificate for the IOS Sprite Kit tutorial

Source: Internet
Author: User

Application and download certificate for the IOS Sprite Kit tutorial

Although the simulator can realize some functions on the real machine, it is limited. For example, there is no gravity sensor, camera machine, etc. on the simulator. If you want to develop this aspect of the game, when testing the program, the simulator display is not preferred, you need to use the real machine for testing. This section explains the pre-test preparation for the real machine, and how to perform a real-machine test.

Request and download Certificates in iOS

The steps to apply and download the certificate are as follows:

1. Create App ID

Before you apply for and download a certificate, you must first create an app ID. The app ID is a series of characters that uniquely identify an application in an iOS device. The steps to create the app ID are as follows:

(1) Enter the URL in the Safari search field (https://developer.apple.com/devcenter/ios/index.action), press ENTER to enter the iOS Dev center-app developer page , shown in 1.80.

Figure 1.80 Operation steps 1

(2) Click the Log In button to enter the sign in with your Apple id-apple Developer Web page, where the developer will need to enter the APP ID and password, click the Sign In button and the iOS Dev Center-app again Developer Web page, shown in 1.81.

Figure 1.81 Operation steps 2

Note: The page shown in Figure 1.81 can only be seen after applying for a paid developer account.

(3) Select the Certificates,identifiers&profiles option to enter the Certificates,identifiers &profiles-app developer page, as shown in 1.82.

Figure 1.82 Operation steps 3

(4) Select the Indentifiers option to enter the iOS App ids-apple Developer Web page. On this page, select the blue Register your app ID string and go to the Register-ios app ids-apple developer page. Fill in some of the relevant content on this page. The content is divided into 4 parts, namely app ID Description, app ID Prefix, app ID Suffix, app Services. You will need to pay special attention when filling in this section of app ID suffix, as shown in 1.83.

Figure 1.83 Operation steps 4

(5) Click the Continue button to enter the Add-ios App ids-apple developer page. Click the Submit button, and then click the Done button. Such an app ID is created,

2. Get the device's UDID

Connect your device to your Mac (or Mac virtual machine) and start Xcode. In the menu bar, select window| The Devices command pops up the Devices dialog box, shown in 1.84. The dialog box shows the developer's device information, where identifier is udid.

Figure 1.84 Operation steps

3. Registering the device

If the developer's device is on a connected Mac (or Mac virtual machine), go back to certificates, Identifiers & Profiles-app Developer Web page. Select the Devices option, or if the developer is still on the page that created the app ID, you can select the All option under Devices on the right side of the page to go to the iOS devices-apple developer page. And you'll see that the device connected to your Mac (or Mac virtual machine) is already registered, as shown in 1.85.

Figure 1.85 Operation steps

Note: If the developer needs to register another device, you can click the Add Device button to add the device, as shown in 1.86.

Figure 1.86 Registering a new device

In this figure, the developer only needs to enter the name of the device in name and enter the identifier of the device in the Udid. Click the Continue button to enter the detection and registration page for the device. Press the Register button to enter the page to register the device successfully. When you click the Done button, a new device is registered successfully.

4. Generate a Certificate signing request

To request a development certificate from Apple, you need to generate a certificate signing request. The specific steps to generate a certificate signing request are as follows:

(1) Select the Go to | utility command in the menu bar, as shown in the Utilities folder, 1.87.

Figure 1.87 Operation steps 1

(2) Locate the Keychain Access application and double-click the icon to open it. Select Keychain Access on the menu bar, as shown in 1.88.

Figure 1.88 Operation steps 2

(3) Select "Certificate Assistant | Request certificate from certificate Publisher ..." and eject Certificate assistant, as shown in 1.89.

(4) Enter the user email address, select the Save to disk check box. Click the "Continue" button, which pops up as shown in the "Storage Location" dialog box 1.90.

Figure 1.89 Operation Step 3 Figure 1.90 Operation Step 4

Note: In the storage location pair dialog, there are default options for storage and location.

(5) Set the location to the desktop, click the "Save" button, generate a certificate signing request on the desktop, and return to the "Certificate Assistant" dialog box, tell the developer that the certificate request has been created on disk, click the "Finish" button.

5. Generate a Certificate

Once these preparations are done, you can generate the certificate, which includes the application and download of the certificate. The following steps are described:

(1) If the developer is still on the registered device page, you can select the Certificates development option on the right side of this page to enter the iOS certificates (development)-apple developer page, as shown in 1.91.

Figure 1.91 Operation steps 1

(2) Select the iOS App development check box and click the Continue button to go to the page in the Request tab. On this page, click the Continue button and go to the page on the Generate tab, shown in 1.92.

Figure 1.92 Operation steps 2

(3) Select Choose File ... button, the Select File dialog box pops up, as shown in 1.93.

Figure 1.93 Operation steps 3

(4) Select the Certificatesigningrequest.certsigningrequest file on the desktop, this file is the generated certificate signing request, click the "Choose" button. Then click the Generate button to go to the page on the Download tab, as shown in 1.94.

Figure 1.94 Operation steps 4

(5) Click the download button to download the generated certificate. The post-download certificate is named Ios_development.cer.

(6) If the developer is still on the download Certificate page, you can select the Provisioning Profiles development option on the right side of this page to enter iOS Provisioning Profiles (development)-apple Developer Web page. In this page, select the blue manually generate profiles string and enter the Add-ios Provisioning profile-apple developer page, shown in 1.95.

Figure 1.95 Operation steps 5

(7) Select the iOS app development check box, click the Continue button, and go to the Configure tab of the Select App ID page, shown in 1.96.

Figure 1.96 Operation steps 6

(8) Select the app ID (where the app ID is the app ID that you created earlier), click the Continue button, and go to the Configure tab on the Select Certificate page, shown in 1.97.

Figure 1.97 Operation steps 7

(9) Choose the Select all check box or select a certificate, click the Continue button, and go to the Configure tab on the Select Device page, 1.98.

Figure 1.98 Operation steps 8

(10) Choose the Select all check box or select a device, click the Continue button and go to the Generate tab on the page, 1.99.

Figure 1.99 Operation Steps 9

(11) Enter the file name of the configuration, click the Generate button, go to the Download tab in the page, 1.100.

Figure 1.100 Operation steps Ten

(12) Select the download button to download the provisioning profiles and download the file for kongkong.mobileprovision.

(13) Double-click the downloaded Ios_development.cer certificate, the "Add Certificate" dialog box appears, 1.101 shows.

Figure 1.101 Operation steps One

(14) Click the "Add" button to add the downloaded Ios_development.cer certificate to the keychain.

(15) Double-click the downloaded kongkong.mobileprovision file to add this file to the organizer provisioning profiles.

This article is selected from:iOS Game Frame Sprite Kit Basic Tutorial--swift version of the University PA Internal information, reproduced please indicate the source, respect the technology respect the IT person!

Application and download certificate for the IOS Sprite Kit tutorial

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.