For individual developers, you need to complete the following processes:
Apply for a development certificate> set your iPhone phone> Create an app ID> Create and download a development provisioning profile. After these steps, the program you write can run on your mobile phone (otherwise, it can only run on the virtual machine ).
Apply for a distribution certificate> Create and install a distribution provisioning profile> compile your program> and then publish it to the app store.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/dotphoenix/archive/2010/03/04/5342388.aspx
After a fax machine has been tried for n times and faxzero has been tried for n times, all of them indicate failure. However, the world is so unpredictable. In the early morning, I received a text message reminding me that I had spent $99 on a credit card outside China. In the morning, I got an activation code in my mailbox and clicked the link to activate my developer account. I don't know which fax was sent successfully.
Log on to the Developer Center. There is a portal link on the right. Click in to go to the management center of your account. The first time you enter a wizard, you can create a developer certificate. It is best to download its complete Wizard Manual, which is a PDF, more than 7 m, and the steps are quite detailed. However, this manual has not been described in the Chinese version on the Internet, so here is a brief introduction.
The Developer Center has three types of user permissions: Agent, admin, and developer. The agent has full management permissions. The admin can also manage users and certificates. The developer can only manage his own certificates and devices. Only the agent has the right to upload software to the app store. (However, I didn't see the function of adding other users. It may take $299 for the Account type to be available. Logging in with my own account is an agent ).
For individual developers, you need to complete the following processes:
Apply for a development certificate> set your iPhone phone> Create an app ID> Create and download a development provisioning profile. After these steps, the program you write can run on your mobile phone (otherwise, it can only run on the virtual machine ).
Apply for a distribution certificate> Create and install a distribution provisioning profile> compile your program> and then publish it to the app store.
The following is a detailed introduction: (I do not know if it is necessary. After all, anyone who has bought the certificate can download this simple English document ), all the introductions are subject to the Mac OS X menus and program names in the Chinese version.
Steps for installing a developer certificate:
Open "key string access" in the application, and click "request certificate from certificate proxy" under "Certificate assistant" in the menu. Do not select any lines below; otherwise, the menu will change. Enter your registered email address. You can write a detailed description of the usual name, for example, "unfish Dev key". Select "store to disk" below and click "continue". An unknown error may occur, it will be OK if you try it multiple times. Go to the certificaties navigation page of the Developer Center in the browser, select the Certificate file you just created from the bottom of the development page, and click upload. Then the certificate will be displayed, and click the approve button next to it. After the page is refreshed, the certificate can be downloaded. It is a CER file. Double-click the file to automatically import it. Select "Log on" as the import type.
Then add your mobile phone device to xcode. Connect your mobile phone to your computer and open organizer in the Windows menu of xcode. The devices on the left will list your mobile phone. The identifier on the right will be the udid of your mobile phone. copy it, to be used later. If this phone has not been set as a development machine, there should be two buttons on this interface. Click it to set it as a development machine, when you click build and go in xcode, You can automatically install your program on your mobile phone without using iTunes. In the left-side navigation pane of the Developer Center, click Add device to create a name that you know and paste the udid. (This step is only useful for developing a certificate. It is not required to publish a certificate .)
Create an app ID and create a new app ID on the app IDs navigation page of the Developer Center. the program identifier defined in plist corresponds. If only one * is entered here, info. we recommend that you use *.
Then go to the provisioning menu in the Developer Center and create a new provisioning on the Development page. Select the certificate, app ID, and the corresponding device, and download the provisioning file after generation, drag the downloaded file to the xcode icon on the dock and the downloaded file will be automatically installed. Then exit xcode and reopen it. Open your project, open edit project settings under the project menu, go to the build page, find the code signing identity below, and set any iPhone
Select your developer Certificate next to the OS device item, and set the compilation target of the project to device (rather than the simulator), and try build and go. The program should be compiled and automatically installed on your mobile phone, and automatically started.
Installation Steps for publishing a certificate:
Then, use the key string to access the "request certificate from certificate proxy" function and enter your own email. The name must be the name of the company or individual you log on to when purchasing the certificate, next, select "Save to disk" and "let me select private key". Next, save the certificate.
Go to the distribution page in certificates of the Developer Center, select the file to be uploaded, and then click approve to download the certificate, double-click Import, and select type to log on.
Enter the distribution page in provisioning, add a new provisioning, and select the App Store type. (If ad hoc is selected, this program can be installed only on the mobile phone that has added the udid. The certificate should appear automatically. The app ID is selected, created, downloaded, and dragged to the xcode icon for installation. Exit xcode and re-open it. Otherwise, the certificate you just added cannot be loaded, and a message indicating invalid provisioning appears.
Open your project, go to "Edit Project Settings", go to the configuration page, select release and click duplicate, copy a new configuration item, and name it distribution. Then go to the build page, and select distribution in the configuration drop-down box on the top. The value corresponding to any iPhone OS device in the code signing identity below selects your Distribution Certificate. Then you can compile the program.
If you follow the tutorial http://www.weiphone.com/thread-222380-1-3.html#to generate the certificate and change the Project Settings and info. plist, you need to change these two places back. Otherwise, a warning, codesign warning: Provisioning appears during compilation.
Is not applicable for product type 'application' in sdk' device-iPhone OS 2.2 ′. Delete provisioning_profile_allowed = No, provisioning_profile_required = No, And signeridentity of info. plist in the project setting, and then compile it. Then, the error will not occur.
Steps for publishing a program to the App Store:
In the App Store page in the distribution navigation of the Developer Center, expand learn more under the App Store below to see the go to iTunes connect link. After entering, Click Manage my application to add your own program.
Select the language, country, introduction, and other basic information of the program, and then upload the program and other images. The program uploaded here is the one generated after your project is compiled. the app directory is compressed into a zip file (this. no file in the app directory can be changed; otherwise, the signature is incorrect ). You need to prepare a 512x512 PNG image as the big logo, and prepare five interfaces for running the program. on this page, select choose file one by one, and then click Upload File, check the check box. Then select the program price. There are many options by default. Free is free, 1 is $0.99, 2 is $1.99, and so on. If the program is not free, you have to prepare a purchase agreement.
Click Next to wait for the Program Review.
It seems complicated, but as long as you follow the steps in the tutorial step by step, it is certainly no problem.