The complete process for releasing IOS apps to Apple app store, iosapp

Source: Internet
Author: User
Tags key string

The complete process for releasing IOS apps to Apple app store, iosapp

Reference: http://blog.csdn.net/mad1989/article/details/8167529 (xcode APP packaging and submission of apple review details process (new version update submission Review ))

Http://www.ttlsa.com/dev/how-to-publish-iosapp-to-appstore/ (how to publish IOS apps to Apple app store)

 

Development Environment: xcode5.1.1

IPhone SDK: 7.1

Development machine: iMac

Deployment test on a real machine: apple's personal developer ID

 

Wizard:

Required IDP certificate and distribution Certificate (the first certificate is used for deployment and testing on a real machine, and the latter certificate is required for release and is indispensable ).

Http://www.cnblogs.com/JuneWang/p/3798201.html (this link refers to the article to realize the function of message push, detailed explanation of each certificate application, and use)

Http://www.ttlsa.com/dev/ios-kaifazhe-shenqing-zhengshu/ (iOS developers apply to publish certificates)

 

Let me talk about the next process. If you guarantee that you have the above two certificates, there are two major steps left before the app is submitted for review: 1. Create an app in itunes-connect and enter the project details. 2. The xcode package is verified and the project is submitted. All right, I will start to focus on it. The kids shoes will follow my process to ensure that they will not be confused or wrong.

 

1. Preparations

Before you begin submitting a program to the App Store, you need an App ID, a valid publishing certificate, and a valid Provisioning profile. Let's take a look at their respective functions.

 

Step 1: App ID (App ID)

An App ID is a unique identifier that identifies different applications. Each app requires an App ID or app ID. Currently, there are two types of App IDs: one is the exact App ID (Explicit App ID), One is the wildcard App ID (Wildcard App ID). The App ID that uses the wildcard can be used to build and Install multiple programs. Although the wildcard App ID is very convenient, a precise App ID is also required, especially when the App uses iCloud or other iOS functions, such as Game Center, Push Notifications, or IAP.

 

If you are not sure what kind of App ID is suitable for your project, I suggest you read Apple's document on this topic: Technical Note QA1713.

 

Step 2: Distribution Certificate (publish a Certificate)
Each iOS app has a security certificate used to verify the developer's identity and signature. To submit an App to the app Store, you need to create an iOS provisioning profile. First, you need to create a distribution certificate (publish certificate). The process is similar to creating a development certificate (develop certificate ). If you have already tested your App on a physical device, you are familiar with creating the development certificate.

 

If you are not familiar with this, I suggest you read Apple's detailed instructions on signing certificates and provisioning profiles.

 

Step 3: Provisioning Profile (configuration file)
Once you have created the App ID and distribution certificate, you can create an iOS provisioning profile to easily sell your App in the App Store. However, you cannot use the same provisioning profile as ad hoc distribution. You need to create a separate provisioning profile for App Store distribution. If you use the wildcard App ID, multiple apps can use the same provisioning profile.

 

Step 4: Build Settings)
The App ID, distribution certificate, and provisioning profile have been configured. It is time to configure the build settings of the target in Xcode. In XcodeProject NavigatorSelect a target from the targets List to openBuild SettingsOption, and then update it.Code SigningTo match the previously created distribution provisioning profile. Recently Added provisioning profiles are sometimes not immediately built in settingsCode SigningAnd restart Xcode to solve the problem.

Configure Build Settings of Target

 

Step 5: Deployment Target)

 

Deployment target. In Xcode, each target has a deployment target, which indicates the minimum version that the app can run. However, once the application takes effect in the App Store, you must modify the deployment target. If you increase the deployment target when updating the app, but the user who has purchased the app does not meet the new deployment target, the app cannot run on the user's mobile device. If a user downloads an updated app through iTunes (not a device), replaces the original version on the device, but finds that the new version cannot run on the device, this is indeed a problem.

 

 

(1) When you decide to increase the deployment target of an existing app, you should describe it in the version notes of the new version. If you tell the user in advance, at least one thing, you have tried your best to prevent the problem from occurring.

 

 

(2) for a new app, I often set deployment target to the latest system version. Because after the release of the new iOS version, the penetration rate is incredible. Many people think that increasing deployment target will lose most of the market. This statement is not accurate. For example, more than 60% of devices have been updated one month after the release of iOS 6 and iOS 6. But for Android, it is another thing. Android users are not as keen as iOS users to update the operating system version.

[In short, it is best to decide whether to be compatible with low-version users during project design. If it is supported, it is best to make a judgment when using the new ios features during code writing, if it is an old version if it is a new version]

 

 

According to figures released at the latest WWDC2014, iOS7 has a market share of 87%.

 

2. Assets (Resource Package)

Step 1: Icons (icon)
Icon is an integral part of the App. Make sure that the icon size does not go wrong.
ITunes Artwork: 1024px x 1024px (required)
IPad/iPad Mini: 72px x 72pxAnd114px x 114px (required)
IPhone/iPod Touch: 57px x 57pxAnd114px x 114px (required) 120px x 120px (required) for iPhone5/iPhone5c/iPhone5s
Search Icon: 29px x 29pxAnd58px x 58px (optional)
Settings Application: 50px x 50pxAnd100px x 100px (optional)

 

Step 2: Screen


The function of the screen is self-evident. You can upload five images for each app. Although at least one image needs to be uploaded, few may upload only one image. In addition, you also need to prepare different screens for the iPhone/iPod Touch and iPad/iPad Mini respectively. This is not a small workload, but it can show the other side of the application. Shiny Development's $6.99 Mac software Status Magic can save you a lot of time. Status Magic can help you place the Status bar in the correct position.

 

The screen and icon are the first impressions of the application. They are directly related to whether the user will buy them. However, the screen you upload does not have to be practical either. Look at Where's My Water? You can use this policy to make it more attractive and persuasive.

 

 

After we connect to the debugging machine. You can use the New Screenshot in the Organizer in Xcode to easily capture images of the standard size.

 

Step 3: Metadata
Before submitting an application, you must manage the app metadata, including 1 Application name, 2 version number, 3 main categories, 4 concise descriptions, 5 keywords, and 6. URL support. If you need to update the application, you also need to provide the new version content.

 

If your application needs to register a [login to open the APP, such as fetion], you have to provide a test account or demo account to Apple so that reviewers can quickly access the app, instead of registering an account.

 

 

3. Submit preparation

After Xcode 4, the process for developers to submit applications is much simpler. You can directly use Xcode to submit applications. Create an app in iTunes Connect, access iTunes Connect, log in with Your iOS developer account, click "Manage Your Apps" on the right, and click "Add New App" in the upper left corner ", select "iOS App" and complete the table.

(Note that the APP you entered during creation is the project you developed, and the name and ID must be the same ). Https://itunesconnect.apple.com

 

Click to enter

In the upper left corner, add an APP. If your Development Account has already submitted an app, the APP will be listed below.

On the first page, select the language, application name, skunumber, and bundleID (you will be asked to select the APPID of your project ). (Q & A: You can change the name, description, new version description, keyword, URL, contact information, and Review Ntoes when updating the version .)

 

 

SKU Number is a special string used to identify the app. I often use the app bundle identifier. The bottom is the app'sBundle IDYou can select a wildcard App ID or an accurate App ID from the menu.

This page selects the app launch date (because apple still needs to review, usually postponed for a few days), the price, and whether to support educational institutions.

The above pages are the write version number, company name, first category of the software, secondary category (note that the two categories must not be repeated, otherwise they will not pass), and the rating.

The above is the content description, keyword, Technical Support url, and the name, last name, email, and mobile phone number of the following technical director. You all know this.

Certificate ----------------------------------------------------------------------------------------------------------------------------------------

Next, select APPicon, a x software Icon, and let the ui do it. I don't know why the software Icon is so big;

If you want to continue uploading five pieces of software, you need to select the most important picture to display. The size is 640x960. If xcode is set to a function, open the window-organizer View window, click the screenshot under your mobile phone tab. The size is exactly the same. It's very convenient.

Ready to Upload Binary). Only after you click this button will the current status change to waiting for upload.

[Note: if it is in Ready for upload status, package and submit the application in xcode, there will be: No suitable application records were found.
Please make sure that you have set up a record for this application on iTunes Connect. Error message .]

 

Now, if the status of your homepage changes to: waiting for upload, congratulations, this step passes smoothly, and the rest is final. (Note: As shown above, click "continue" to complete all the work on the webpage ).

 

 

 

4. Operate on xcode: Set the certificate, build the package, and submit the project.

 

Open xcode and make sure that you have configured the distribution Certificate.

 

Make sure that both debug and release select the distribution Certificate we have applied. In the next step, some tutorials show that I have also tried to create a new codesigning identity. However, it is not recommended that you create a new codesigning identity, because release can still be packaged, new identities are believed to make beginners more dizzy. (Above)

 

 

 5. Upload a binary file

  • Next, package the application (premise: you have applied to release and install the certificate. If you have not applied for the application, please refer to the link at the beginning of this article for operations)

A. Open Xcode and select Product> Archive (a real machine is required)

B. Select distribute...

C. Select the second

D. Select to publish the certificate

Click next to generate the. ipa file.

3. Upload the. ipa file. Use the Application Loader that comes with mac.

A. Right-click the Application (Applications) in the finder and choose Xcode> show Package content> contents> Applications> Application Loader.

B. When you open Application Loader, the logon interface is displayed. You can also log on to the Developer Center using the account. The first logon will display an acceptance Protocol page. After √, you can continue.

C. Select "Deliver Your App". The project you entered in the developer Center will appear, waiting for the upload status. Select "Upload ipa.

4. After the upload is successful, return to the Developer Center. Refresh the page and you will find that the project is waiting for review. The normal review cycle is five working days.

 

 

Note:

When using Application Loader to upload the. ipa file, the following problems are encountered,

 

You can delete arm64/arm7s by modifying Valid ubuntures and retain only armv7 to solve this problem:

 

 

Reminder:

If you use CocoaPods for third-party class library management, you need to delete the project managed by your CocoaPods (Valid ubuntures deletes arm64/arm7s and only keeps armv7)

 

 

Haha. The first release. I encountered many problems and got help from many friends. Thank you very much.

I also hope this article will provide you with some guidance and help for the upcoming release of the system. Then I will be very happy.

 

PS. When our ipa file is uploaded through application loader, it suddenly becomes wrong. If you want to re-replace the upload. Follow these steps:

1. https://itunesconnect.apple.com enters our application

2. Click view detail.

3. After Entering view detail, there are

 

 

Questions about application updates

 

Because there is no experience of application updates, so the content are excerpted from http://blog.csdn.net/mad1989/article/details/8167529

  

Now, let's talk about how to export ipa and install it on any iphone in the case of an IDP certificate or a developer account)

When we package and build in the last few steps, we can see that the real app has been generated under the Products folder of your project, but this is not the. ipa file we really want. (As shown above) Select the app under Product, right-click show in Finder, open our itunes, and drag the software to itunes.

At this time, our software was dragged to itunes, but we found that there was no software Icon. Don't worry, this is normal. Right-click the software and select display in Finder (as shown above)

Now, this software is what we want ipa. I personally tested the mobile phone installed after jailbreak, but there was no problem at all (don't worry about the certificate) [Note: the version of the jailbreak mobile phone must be higher than the software version requirements]

No cell phone has been tested for jailbreak, but I think it should be impossible to install it because apple's review mechanism is very strict, must be installed in the mobile phone with the description file Provision (this is already reflected in the deployment test of the real machine)

 

 

November May 30, 2014

If you have seen this, I really admire your patience with the tedious wording. It is not easy to write a blog because of time, so some languages or typographical structures are not very well organized. After one year, I finally understand the entire debugging, release, and multi-person development process. If you are still confused, I feel that the mechanism of apple is very troublesome, or I have encountered a problem when many people develop: Valid signing identity not found. I suggest you read another article, at last, this article introduces the differences and connections between Certificate, App ID, Devices, and Provisioning Profiles. I believe you will be enlightened after reading this article!

Valid signing identity not found solution (original IDP private key loss) and difference between Certificate, App ID, Devices, Provisioning Profiles http://blog.csdn.net/mad1989/article/details/8699147

 

 

Okay, thank you for reading this. It's a bit cool, but if you follow this step and finish the process, you will understand its principle. At least one tutorial is not displayed, but another one is displayed.

If you have any questions, please leave a message and I will try my best to help you solve them, learn and grow together.

Free Portal One: http://www.cocoachina.com/special/market.html

 

 

20121109

Mryang

 

 

 

 

 

Latest update on April 9, January 14, 2013: the new version is submitted for review

 

When the new project is launched in the AppStore after many levels, the maintenance problem will occur one after another, so the new version submission is not so complicated, if you have understood the above tutorials, the new version will be worth your attention.

 

1. First, you need to modify the code, that is, you need to update the content, such as functions, such as bugs (seemingly nonsense)

2. After confirming that everything is OK, you need to set the version and build number of the project, the new version

Version indicates the external Version number (which can be seen by itunesconect and Appstore users). build cannot be seen by others and can only be seen by developers themselves, which is equivalent to the internal Version number. [When updating the version, it must be higher than the previous build number]

 

3. log on to the ituneconnect website and click add new version on the right side of the project. A prompt is displayed, indicating that the version name and update content are entered. After the change, click save.

4. Review the new version name and updated content in detail on the website, and check whether there is any need to replace it. Click ready to binary in the upper right corner and complete the settings on the website. Next, xcode submits a new project. [Note this setting as follows]

You can choose to automatically update to the app store after the review is passed, or manually control the update, which is user-friendly.

 

5. Xcode sets codesign identity as the issued certificate, Divice selects iosDevice, and then builds and archive, which is the same as the first release above.

6. Open the archive tab on the organizer interface. After checking whether there are any errors, verify the Validate and then Distribute.

After waiting, if there is no problem, refresh the itunescnnet website and the status of your new project changes:Waiting For Review

 

 

20120114

 

 

************************************ Summary of errors during package upload 《 continuous update *********************************

 

 

 

An error occurred while uploading: Application failed codesign verification.

 

It means that your signature is incorrect. When packaging and publishing an APP, you must use the Release mode and select the certificate as your Distribution.

 

About Validate Built Product settings YES or NO

Sometimes packaging encounters errors. on the Internet, you can set the Target to -----> build ------> Validate Built Product option or set it to NO. I searched for the meaning of Validate Built Product from the Internet, which probably means to enable built-in verification. For example, some icons specified by apple are 57X57, and your icon is not of this size, the release will fail.

 

 

 

An error occurred while uploading: code signing is required for product type Application in SDK iOS 6.1.

 

 

This indicates that the debug certificate is incorrectly selected. solution:

TARGETS --> Build Settings --> Code Signing Identity is set to iPhone Developer

This is OK.

 

 

 

Warning during upload: cApplication failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011 ).

 

 

There are many people on the Internet, but there are different opinions. There seems to be no authoritative solution,

First of all to develop a habit of reading official documents: https://developer.apple.com/ios/manage/distribution/index.action

You need to understand the steps for debugging and publishing applications on a real machine. You just want to use Xcode to package and release apps before creating an APP! We also need to understand the roles and differences between debug and release.

 

I understand this warning as follows:

Make sure that Xcode is a recent version, and the project SDK is at least commonly used. APPID is correct. The debugging certificate and Distribution Certificate of the real machine correspond to the current Xcode settings.

First, check whether the info of your Project is correct, and whether the Target setting is correct ..
Do not use the simulator build. Select the Device and check whether the release is used during archive in Edit scheme!
If none of them work, delete the relevant files in the key string, and apply for a download again in ADP!

 

20130510

 

 

Upload error: failed to get the task for process 624

This error happens when you have set Distribution Provisioning profile in code signing. Change it to Developer Provisioning Profile, then it will work. Worked for me for Xcode SDK 4.5.

Change your code sign from Distribution to Developer. This is so simple.

 

An error occurred while uploading: CFbundleVersion

This error indicates that the bundleVersion In the info. plist file of our project is incorrect. This attribute requires a value of the int type, as shown in.

 

20140111


How can I publish an App to an Apple App Store?

Even a free application requires a Developer account. Registering a Developer account is not detailed here. Then, the App is ready. Make sure that the iOS application has completed a comprehensive test in the Simulator to confirm that no bugs are known. After all the App publishing work is ready, you can publish the App to the App Store. The following steps are required to publish the App: 1. register the App ID. In Xcode, specify Bundle Identifier2. create the publication Certificate (Distribution Certificate). 3. create Distribution Provisioning Profile4. use Distribution Profile to sign the application. package App6. most of the above operations on the iTunes Connect upload App are completed in the Provisioning Portal, XCode, Keychain Access tool, and iTunes Connect. The upload App must be executed in Xcode (that is, MacAir, MacMini, and other 10. X systems running Moc OS x Mountain, preferably the latest version such as 10.7. The current version of XCode's integrated development environment for Object C is 4.3.2. Other operations can be completed in a common browser. Publish an iOS App to App Store-create an App ID first apply for an App ID for the iOS App, which is the unique identifier of your App. Log on to the iOS Developer website, click the iOS Provisioning Portal link on the right, and select the App ID. Select the ID of the created app. Enter the Description of the application in Description. Bundle Identifier refers to the Code ID of an application. You can use the company name and Application name to identify the application, for example, com. company. demoapp. Open X-Code and select Target> Summary. In the Identifier input box, enter the Bundle Identifier registered above. Publishing an iOS App to App Store-creating a Distribution CertificateiOS App has a security certificate used to verify the developer's identity and signature. The Distribution Section of the Provisioning Portal provides a detailed description, but the general steps can be summarized as follows. 1. Open Keychain Access and disable OCSP and CRL in Preferences. 2. Click the Keychain Access menu and choose Certificate Assistant> Request Certificate from Authority. 3. Enter the Email address and select Saved to Disk and Let me specify key pair information. Click Continue. 4. select key size of 2048 bits and RSA algorithm and click Continue. 5. A. CSR file is generated on the desktop. 6. Go to the Provisioning Portal, select Certificates-> Distribution-> Add Certificate, and Add the. CSR signature file you just created. 7. Download and install WWDR intermediate certificate while waiting for review. 8. Refresh the page and download the certificate. Download and install. 9. In the last step, open Keychain Access. Select the private key you just installed and select Export Item from the menu to Export the private key. Back up the exported private key to a safe place for later reinstallation.

How to publish IOS applications through App Store

For more information, see
Udn.epicgames.com/...H.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.