This article describes the release process for iOS apps, because Apple's release cycle is too long to introduce a very useful test site-dandelion.
The release of the iOS application and the debugging of the real machine are very similar, also need to apply for various certificates.
1, enter the https://developer.apple.com Apple Developer website, click Provisioning Profiles Enter the certificate interface
2. There are 4 options under iOS apps in the interface certificates, identifiers, Devices, Provisioning Profiles. To apply for a developer certificate, These four options are set and are in order .
(1) Setting certificates
A. Click Certificate->production, the "+" sign in the upper left corner.
, the red box above is selected when the real machine is debugged; the red box below is selected when you want to publish the app, where we select the red box below; the bottom Apple push Notification service SSL is the certificate that you need to request when you push this feature in your application. Select Continue,
B. Create the CSR file, and what is the CSR file, see the application for the local certificate mentioned in the previous article . Click Continue, and create the file locally.
C. generate the development certificate; in the upload CSR file, upload the CSR files generated in B; Click Generate to generate the certificate; We will publish the certificate dowload down, double-click to add to the keychain. Also, return to the certificate interface to see the certificate we have requested.
(2) Set identifiers and devices; These two steps are exactly the same as when the real machine is debugged, and if nothing has changed, These two steps can be skipped.
(3) Create a profile provisioning Profiles; As with real-machine debugging, you also need to request a profile when you publish your app. The steps are similar to the steps of the real machine debugging.
A. Select the distribution below provisioning profiles and click on the "+" sign in the upper left corner.
B. Select App Store and click Continue
C. Select the app ID, that is, choose the application's identity, and the program's Boundle ID ; Click Continue
D.select certificates; Here you select the published certificate generated in certificates, and if you cannot determine which one it is, choose All. Click Continue
E. The following steps are too simple to repeat, and the application for the development of the profile is complete.
In fact, the focus of this article is the package of the project, this article describes the test package
When a project is written, the steps that need to be packaged for others to test are:
(1) switch the simulator to an iOS device
(2) about the setup of code signing
Note: This article is about testing, so the above certificate and description file to choose, the real machine debugging when the certificate and description file.
(3) Packaging; Select Product-> archive; When you are finished, select Export.
(4) Select the second item
(5) Generally this step, all know how to choose, specific what can not say.
(6) After selecting, you can give the package name and export
Here's the problem. Why this article is about issuing a certificate application, why the final package is used to test the certificate. This is because I had the following error while packing to (5)
I was playing the test package, why jumped out of a distribution, according to the online statement is published certificate application full. Whatever the reason. That's how I solved it. Enter the developer Center
Revoke the release certificate, and then create a new publish certificate, the new profile (which is still a description of the real-machine debugging ), when this is done, the problem is resolved. For the issue of issuing certificates to revoke, it is prudent to do so without the last resort. Notice, when re-create the release certificate, try not to change AppID, because some projects will encounter Baidu Map SDK, Baidu Map and Boundle ID is related, if changed wrong, will let Baidu map appears blank, can not display.
Finally about how to send the packaged files to others to test, recommend a site-dandelion, note that this is a test, to the tester's udid included in the devices. About the release of the IPA package to upload, and now have not encountered, and so on, and then update.
iOS Packaging and Publishing