Required Conditions:
99 $
(You don't have to read it any more)
My system is in different versions of 10.5.7, which may be slightly different.
First, log on
Http://developer.apple.com/iphone/index.action
If you have purchased 99 $, log on to the console and you will see the following information (figure 1)
Click in to see the following interface (figure 2)
Here I would like to mention that the content in the $99 team of the company and the individual is different (at least I found there are differences)
The company team can join the member, while the individual can not join the member only one person, but there is no major problem here, it does not hinder our content below.
Click certificates to view the following content (Figure 3)
Click the red part in the figure to download an object named applewwdrca. Cer.
This is a required part for debugging and releasing the iPhone program. We only need to download it once. Even if you have n IDP, whether it is a debugging program or a publishing program, you only need one. This link is also available when we talk about the distribution page later. If you have already downloaded it, you don't need to download it again. (Because I didn't understand the process at first, I downloaded it n times ),
After the download, click this button to install it on your machine.
Open your keychain access. If the keychain access is not found under application \ utilities on disk C in the dock, the Chinese name may be "key string ..." Open this and you will see the following figure (figure 4)
This indicates that you have already installed it.
Next, we open the keychain menu (figure 5)
Follow the figure below.
(Figure 6)
(Figure 7)
(Figure 8)
Then, continute
A certificatesigningrequest. certsigningrequest file will be generated on your desktop.
Next step (figure 9 ):
Click request certificate (Figure 10)
Click choose file (figure 11)
Select certificatesigningrequest. certsigningrequest
Click choose (figure 12)
Click Submit
(Figure 13)
Click approve
(Figure 14)
Your certificate is in pending status.
Refresh a webpage and OK is in the following status:
(Figure 15)
Click the Download button and you will get a file named __identity.cer. Double-click the file.
(Figure 16)
Click OK
In this case, open your keychain and check that the result is as follows:
(Figure 17)
Remember to see the key-like thing below at this moment. Without this, debugging is impossible. Sometimes, I often don't see the key-like thing.
OK. Let's continue.
Enable the devices item.
(Figure 18)
Click Add devices.
(Figure 19)
Name your device, for example, myipod.
DeviceID is the ID of your iPod or iPhone (40 digits). There are many ways to get the ID, which may be obtained through xcode window-> organizer.
(Figure 20)
Enter the table and click summit.
Figure 21
Let's start with appid.
Figure 22
Click newappid.
Figure 23
First, just write a name. I will use appid as an example.
Second, you must note that you must write in this format.
What I wrote here is:
Com. ABC .*
You can also write com. XYZ. * COM. Google .*
The variable in the middle is meaningless. Generally, it is the company name.
Remember to write this format, otherwise it will be troublesome in the future
Then submit
Figure 24
Continue provisioning page
Figure 25
Click New Profile
Follow my instructions.
Figure 26
Submit
Figure 27
Download, you will get a devprovision. mobileprovision file, which is to be installed in the mobile phone
Drag this to organizer.
Figure 28
29 After dragging
Open your iPod and you will find something in the Settings> General> description file, that is, your certificate.
Double-click the devprovision. mobileprovision file, and your xcode will be activated. Then, View Drive C.
Users \ USERNAME \ library \ mobiledevice \ provisioning profiles
Files for XXXXXX-XXXXXX-XXXXX-XXXXXX.mobileprovision?
Open an iPhone Project
Open the plist file of the project and change bundle identifier to the following:
Figure 30
Now you probably know what ABC is.
Open info of this project
Figure 31
Then, change the settings (remember to select the one you want to select)
Figure 32
If the item you want to select is gray, some of your previous processes may have problems.
There is another one to be confirmed, as shown in Figure 33)
Make sure that the red part is selected
Figure 34
OK
Now the success is 99.9999%.
Select device... Debug and build and go
Figure 35
The program must have been running on your machine. If not, restart your iPod. If not, restart your computer, if you can't do it any more, find a solution.
Continued
How to release a program
Go to the distribution page of Certificates
(Figure 36)
Click the request certificate button (you must be familiar with the online debugging steps above)
(Figure 37)
Select the certificatesigningrequest. certsigningrequest file (this file has been generated during online debugging ),
Figure 38
Select and click Submit
Figure 39
Click appove.
Figure 40
Refresh the page.
Figure 41
Click Download
You will get a file named distribution_identity.cer.
Double-click this file and the following prompt will be displayed:
Figure 42
Click OK
Open the keychain and you will see the following figure.
Figure 43
Now your computer has the Certificate for publishing the program.
The following shows the distribution page of provisioning.
Figure 44
Click New Profile
Enter the profile name. Just write a name for the profile name.
Figure 45
Then submit
Figure 46
Refresh
Figure 47
OK, download now. You will get a distribution. mobileprovision file.
Double-click this file and your xcode will be activated
View Drive C
Users \ USERNAME \ library \ mobiledevice \ provisioning profiles
XXXXXX-XXXXXX-XXXXX-XXXXXX.mobileprovision files
Now, configure xcode.
Figure 48
Open the deployments page
Select release and click duplicate.
Figure 49
After duplicate, as shown in figure
Figure 50
Change the name to distribution.
Figure 51
Next, we switch to the build page.
Figure 52
Select Distribution 1 and distribution 2 in the figure.
Then
Figure 53
Figure 54
In Figure 54, you should select it. Otherwise, a signature error occurs during build.
After confirming, continue
Figure 55
Select device and distribution
OK
Figure 56
Build OK is now 99.9%
If there is a signature error, it must be something wrong with you.
After successful
Figure 57
Ihide is what we want to upload. before uploading, We need to compress it into a zip package.
Enter
Itunesconnect.apple.com
Log On
Figure 58
Enter manage your applications
Figure 59
Click Add new application.