"Go" xcode real-Machine debugging experience

Source: Internet
Author: User

1. Developer Certificate (certificates)

There are two types of development (iOS development) and release (iOS distribution), whether it's a real-machine debug or an upload to the App Store, which is a base certificate used to prove the identity of the developer.

2. Application Identification (Identifiers)

App IDs, individual identities for each app. You can configure permissions for the app, such as whether to use In-app purchase,gamecenter,icloud and more common push services, and if you choose the push service, you can create a dedicated push certificate that is also divided into development (development SSL Certificate) and publish (Production SSL Certificate) two kinds.

3. Equipment (Devices)

The normal developer account can add 100 Apple devices for development testing, adding that it cannot be deleted and can only be disabled (Disable). Adding a new device requires a UDID (unique Device identifier appliance identity) that connects the device to the computer and then gets the identifier properties of the device through Xcode's organizer.

P.S device connected to Xcode, there will be a signal light, gray, yellow and green three colors.

Gray-The device may be new (not used as a development machine), and the right side has the option to use the device as a development machine.

Yellow-There are two possibilities: 1. The device is not connected properly. 2. The device version is higher than the version that Xcode can support.

Green-Indicates a successful connection and can be debugged.

4. Description file (Provisioning Profiles)

This file binds the AppID, developer certificate, and hardware device together.

===============================================================

Basic steps:

Generate certificates

① "Utilities"-"Keychain Access"-"certificate Assistant"-"request a certificate from a certification authority"

--------------------------------------------------------------------------------------------------------------- -------------

--------------------------------------------------------------------------------------------------------------- -------------

--------------------------------------------------------------------------------------------------------------- -------------

② Developer Background Select the certificate file generated in the previous step, upload

--------------------------------------------------------------------------------------------------------------- -------------

--------------------------------------------------------------------------------------------------------------- -------------

Generate App ID

① fill in the app ID description string

② fill in the app ID prefix (Team ID)

③ fill in the app ID suffix, choose Explicit app ID (explicitly specified) or wildcard app ID (generic designation)

Explicit app id-Unique string, this string must match the bundle ID of your application, and Apple recommends using COM. Your company name. App name as your Bundle ID, if you choose Explicit app Id,bundle ID Cannot contain an * number

Wildcard app id-lets you match multiple apps with an app ID, want to create a generic app ID, and use the * sign at the end of the input bundle ID, for example: com.wayne.*

④ Specify the services to be used by the app

⑤ Confirm and submit

--------------------------------------------------------------------------------------------------------------- -------------

Add a Device

--------------------------------------------------------------------------------------------------------------- -------------

Generate Provisioning Profiles File

① Select development or publish

② Select App ID

③ Selecting a Certificate

④ Selecting a Device

⑤ confirm, name and generate

⑥ Download the generated provisioning profiles file to your computer, and then double-click Execute

--------------------------------------------------------------------------------------------------------------- -------------

Perform debugging in Xcode

① first specify the project's PP file (Provisioning profile)

Here's one more thing to watch out for, to choose a team:

The effect is to have Xcode automatically generate an iOS Team Provisioning profile from iOS Provisioning Profiles Developer Member Center:

IOS Team Provisioning Profile is the first time you add a device using Xcode, Xcode is automatically generated, and it contains a wildcard App ID generated by Xcode(*, Match all applications), the account inside all the devices and all development certificates, as shown in. As a result, all members of the team can use this iOS team Provisioning profile to debug all applications on all the devices in the team. And when a new device is added, Xcode updates the file.

From:http://www.cnblogs.com/wayne23/p/3587705.html

"Go" xcode real-Machine debugging experience

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.