Transferred from http://blog.sina.com.cn/s/blog_6fd90b5b01015a46.html
Recently-run colleagues have struggled to share the idea of how to publish the IPA packages offered by their partners to the App Store.OverviewDue to Apple's mechanism, the installation of applications on a non-jailbreak machine must be done through the official App Store, developers can upload the App store after the app has been developed, and also need to pass the auditing process. As a development platform for a trans-mainstream platform, Appcan also supports the use of the IPA package to upload the App store. This article describes how to implement the Appcan online compilation of IPA packages from three processes and upload them to Apple's App store.I. Export of certificates 1.1. Preliminary workFirst you need to have an Apple developer account, a Mac system. If no account can be opened http://developer.apple.com/application to join Apple's developer program. Pay 99 dollars a year, how to apply for a detailed online introduction, do not introduce more here.
If you already have an IDP, open http://developer.apple.com/and log on to the Apple Membercenter, see the following image login to see this interface, listing the tools you need to develop, support, itunes app management, and so on. Select the second item: Ios provisioning Portal, entry, all certificates related are here.1.2. Apply for AppIDSelect App IDs on the left of the image below, we first create a appid, there is a unique appid for the program to be released to the App Store, and here's a list of all your current AppID we click on the new app ID in the upper right corner, two of which you need to fill in:
The first description, used to describe your appid, this casually fill, there is no limit;
The second item bundle Identifier (APP ID Suffix), this is your appid suffix, this need to be careful, because this content is directly related to your program, many places to use later, preferably Com.yourcompany.yourappname format, of course, no company name of the personal developer, the second can be in your own English name or pinyin, as shown below
appcan.cn Online IPA Package compile-time need to fill out the Iapp IDs is that you enter the second content after the completion of submit, the following figure, you can see we have generated the Appid:ebook AppID. To support push service and Icould can also be configured here:1.3. Apply for issuing certificate 1.3.1, first create a certificate request fileWe need a Mac system here. The following are examples of snow leopard systems, and the other versions are not very different.
First open the Application- utility- Keychain Access (key CHAIN), in the Certificate assistant, select "Ask for certificate from Certification authority", the following figure in the image below the interface, your e-mail address: Fill in your application for IDP email address, common name, the default is good, CA empty, Select Storage to disk, click "Continue": Choose a saved location, such as Select the desktop next click Finish, you can see your desktop more than a certificatesigningrequest.certsigningrequest certificate request file.1.3.2, install WWDR certificateContinue to login to your member CENTER, select the certificates item on the left, you can see that there are four options on the right, we choose distribution, click here to download now. After the download is complete, double-click the installation, after the installation is successful, you can see this intermediate certificate under the certificate in your keychain.1.3.3, request a publishing certificateOK, now to request a real release certificate, or on this page, click Request Certificate This page to tell you how to generate the publishing certificate, click the "Select File" below, select the certificate request file you created in the first step, then click "Submit" OK. Now you have a certificate can be downloaded, the following figure (not download please refresh the page)1.3.4, installation, and exportClick "Download" to download your generated certificate, download after the installation double-click, if you have the following prompts, select Login,ok then check your keychain, there should be the following line of the iphone distribution certificate, note that this certificate has a small triangle can be clicked, There is a corresponding key after the expansion. If you do not have the key, please check that the above step is wrong. Now that the certificate has been installed, we select this certificate, right-click, select, Export "xxxxxxx", the following figure to the certificate you want to export a name, select a stored location, note, save into P12 information exchange file input password, if the MAC system has a password, the following will also require you to enter the system password. Now you have the P12 file you need to release the program.
appcan.cn Online IPA package compiled with the need to upload the DISTRIBUTION.P12 is the release certificate you exported; Certificate password is the password you fill out when you export the certificate.1.4. Generate Provisioning FilesSelect the provisioning option on the left of the following figure, and select distribution in the same subkey on the right, to generate a published preparation file to select New profile, in the following figure, the first method, select the App Store;
Profile name, this random fill, the app ID below, select the AppID we created when we started, and this must be the same. Commit after confirmation. Wait a few seconds, provisioning can download, click Download, download. We got a xxxxxx.mobileprovision.
appcan.cn Online IPA Package compile-time need to upload distribution.mobileprovision is the file you generated now, our certificate is ready to work, we have a appid, a p12 format certificate file, A provisioning file.ii. appcan.cn Online IPA package compilationBased on the certificate and P12 files produced by the process, the developer will be able to match the mix to generate the IPA package which can upload the App store, the following process:
Appcan Online Packaging (non-IDE packaging), user generation applications need to choose to generate the iOS platform, after the Check pop-up window, you need to fill out the upload Apple developers in Apple received the release of the application-related information (please refer to the export of the certificate), but confirmed the submission. Be sure to fill in the correct or the package will fail.
After uploading the relevant qualification information, the "note" Submission of the package is used to upload to the Apple Store for the use of not directly installed to the phone test
Q: How do I upload to the App Store after a successful package?
A: Download the. IPA file to the local, change the file suffix. The IPA is. zip. (Please refer to the IPA package for submission to Apple App Store)
Q: How do I install the test on my jailbreak phone after packing?
a:1, download. IPA files to local, change the file suffix. IPA is. zip and unzip the package,
2, new payload folder,
3. Copy the folders in the ZIP package to the payload folder
4, compressed Payload folder for the. zip file package, change the. zip suffix to. IPA
5. Install to mobile phone
After the jump, the installation package can be installed directly to the jailbreak cell phoneIii. IPA package submitted to Apple app storeAfter the Appcan online and developer certificate is mixed, the generated IPA package (suffix, IPA) can be uploaded to the Apple App Store and the following is the procedure3.1. Create a program in itunes This section continues to take the snow Leopard system as an example
Open https://itunesconnect.apple.com/(can also be found in Membercenter) select "Manage Your Applications" click
Fill out the form below.
Default language,
AppName
SKU number, which is the identification of your own program, click on the back. "There are instructions
Bundle ID: This is optional and must be consistent with the AppID when you apply for a certificate. Otherwise the upload will fail. When you are finished, click on "Continue"
This page set the effective time and price of the program, after selecting, click "Continue" The following image of the page needs to fill out some program information, note that "Review notes (optional)" This option is the Apple Review program description, if your program needs to log in to use, To provide a username and password here, if some of your program's features are obscure, you can provide the procedure here, which is what Apple's review personnel will not display in the App Store. The page below is a description of some of the ratings, depending on the need to choose the following is metadata, this may be important, note that the keywords, the more you set the more chances of your program being found. Large app icon This requires a 512x512 icon. Screenshots is a screenshot or descriptive picture. Done after filling, this creates an app, clicks "View Detail", and then chooses. Your app shows a yellow wait for upload, which means you can upload your binaries. The following figure3.2, upload the programUpload the program please find the Application Uploader tool under your Mac system, you can not find it in the following image download. xcode4.x integrates the tool into the Xcode. After the tool has been installed under the Mac, run, if it is the first time, you may need to login with your own IDP account (will be saved in the keychain), after the login will automatically check you are not waiting to upload the status of the app, choose you to create a good app, the following figure click "Next" button click "Choose" button, select the IPA package you compiled from Appcan online, and modify it. The IPA suffix is. zip, please do not open the contents of the Modify package (including adding and deleting files such as resource pictures), otherwise upload will fail. Click "Send" button, waiting for upload, upload completed, open itunesconnect, this time your program state into "upload received", the program into Apple first step audit. The first step is to audit for a few minutes to several hours. When the first step is approved, program status changed to "Wait for review", at this time the program entered the state waiting for manual audit, about 4 days to 2 weeks of time is this state, until the queue to your program, the program into the "in Review" state, if your program does not have the content of the problem, Comply with Apple's audit standards, then audit success, your program's status into a green "Ready for Sale", if the audit failed, the program state changed to Red "rejected"
The failure of each step in the upload will be emailed to you, or you can see a detailed failure message.
When your program becomes a "ready for sale" state, you can find it in the App Store. At this point, the upload is over. You can use iOS devices to find your app in the App Store. Article from: http://st.appcan.cn/dev/dev_iosdom.html