Address: http://tie.youdao.com/st_3979529905881611380
For real machine debugging, you must firstRegister an AP on the Apple websiteP
ID and IPHOne develop program (IDP)
Developer authorization, $99. Then create a certificate requestTo create a CSR file, follow these steps::
Set OCSP and CRLIs disabled.
Mac OS
Open the application and findToKey string access(Keychain
Access)OpenMain Menu-Certificate Assistant(CertificaTe
Assistant)-Request a certificate from a certificate proxy(Request a CertificatE from
CertificatE
Authority)Enter "E" at IDP registrationMail, user name CustomizationSelect "store to disk"", Select 'Let me specify
Key pair informatioN '.
Select the Save path, certificate pleaseCreate successfully.
1. You can log onIDP
Portal certificate submissionRequest, to this page
Http://developer.apple.com/iphone/manage/certificates/team/index.action
Point developmeNT, 'requesT
CertificatE ', and then click browSer, add the generatedCertificate, click submiT.
Click approve,A.CER file.
DownloadDouble-click it.
Click "OK"CertificatAdd e to keychaIn.
2.
Now the device is registered.Orga of xcodeNizer or ITUNES can view yourThe udid of the machine. OnLink to the pageYou can. This page has detailsIntroduction
Http://developer.apple.com/iphone/manage/devices/howto.action
Open xcode and go to WUnder the indow menu, clickClick organizer., This page appears (prerequisiteConnect to a real machine)
IdentifierThat line is Dev.Ice
Id. copy it. OpenHttp://developer.apple.com/iphone/manage/devices/index.action
Click "add devices"
Give device name your own nameTo replace the copied characters.Paste to Device
ID, click su belowBmit.
3. generate an app
ID,
To create an application, you must specifySet the program id on the websiteCreate an app
ID, which can beFor a programFor multiple programs, assume that the existingOne program testgaMe, you can specify its ID is
Com. thinkrAce. testgaMe or com. tHinkrace .*Created on the site.Com. thinkrAce .*
Suitable for all programs.It is important to note thatYes, this ID correspondsIs your program targeT
Name in infoNot the name of your program.Note:Yes: If your app
ID is replaced by the "*" sign,In the sdk3.0 ringArget
Name in infoCannot be written as COM.Thinkrace.* If this is the case, the number * following itCan still use any character generationReplace, but cannot use *. YesError reported, but in sdk3. 0
The previous environment can be used *,In this case,PP
ID is replaced by *, no* It doesn't matter if it is replaced. ChangeAfter the name is readyTarget
Put buil in infoIPhone in item d
Developer changeYour provisiOning.(But it will wait for you to generateProvisionIng.). For more information, seeFigure
Open Web http://developer.apple.com/iphone/manage/bundles/index.action [/url]
Without the form *
Form *
4. Finally, you can generate a provIsioning
Profiles,This is the most important thing.All for it, verySimple, within one minuteGenerate download, Download it. NoIf you can refer to the http://developer.apple.com/iphone/manage/provisioningprofiles/howto.action
Click "New Profile"
Click "Submit", Do will be generated within one minuteWnload
Download provisioNing, double-click
5.
Real machine debugging
Install provisioNing, double-click it.Connect to iPhone/IPod, using xcodE
->
Window-> organize openIf the iPhone o is connectedNe, will be in DevicE displays the corresponding device,Click
"Use
Device
Develop ", OpenYou can selectDevice for response selectionAnd it is very importantYes iPhone
SDK and real machine version 1If the version is incompatibleA device cannot be found.I have a deep understanding of the error. ToAll the above steps are in thisPage with video tutorial http://developer.apple.com/iphone/videos/popupappids.action
For more information, see.