Reference: http://blog.csdn.net/mad1989/article/details/8167529 (Xcode APP Package and submit Apple Audit detail process (new version update submission review))
Http://www.ttlsa.com/dev/how-to-publish-iosapp-to-appstore/(How to publish an iOS app to the Apple app STORE)
Development environment: xcode5.1.1
iphonesdk:7.1
Development machine: IMAC
Real-Machine deployment test: Apple Personal Developer ID
Wizard:
The prerequisite IDP certificate and the distribution certificate (the first certificate is used when the test is a real-time deployment, which is required for publishing).
Http://www.cnblogs.com/JuneWang/p/3798201.html (the link refers to the article implements the message push function, detailed explanation of each certificate application, and use)
http://www.ttlsa.com/dev/ios-kaifazhe-shenqing-zhengshu/(iOS Development This application release certificate)
I'll talk about the process that should be done next. With the assurance that you have the above two certificates, there are two major steps left to submit a review from the app: 1,itunes-connect create the app and fill in the project details. 2,xcode Package validation is passed and the project is submitted. OK, I began to say the point, children's shoes follow my process, to ensure that there is no confusion and error.
1. Pre-preparation
Before you start submitting your program to the App Store, you need to have an app ID, a valid publishing certificate, and a valid provisioning profile. Here's a look at their respective roles.
Step 1:app ID (app ID)
App IDs are unique identifiers that identify different applications. Each app requires an app ID or app logo. There are currently two types of app identifiers: one is the exact app ID (explicit appID) and one is the wildcard app ID (wildcard app ID). App IDs that use wildcards can be used to build and install multiple programs. Although the wildcard app ID is handy, an accurate app ID is also needed, especially if your app uses icloud or other iOS features, such as game Center, Push notifications, or IAP.
If you're not sure what app ID is right for your project, I recommend you read Apple's documentation on this topic: Technical Note QA1713.
Step 2:distribution Certificate (Release certificate)
iOS apps have a security certificate for verifying developer identities and signatures. In order to submit an app to the App Store, you need to create an iOS provisioning profile. You first need to create a distribution certificate (Publish certificate), which is similar to creating a development certificate (development certificate). If you've already tested your app on a physical device, you're already familiar with creating development certificate.
If you are unfamiliar with this, I suggest you read Apple's detailed guidance on signing certificates and provisioning profiles.
Step 3:provisioning Profile (config file)
Once you've created your app ID and distribution certificate, you can create an iOS provisioning profile to make it easy to sell your app in the App Store. However, you cannot use the same provisioning profile as the ad hoc distribution. You need to create a separate provisioning profile for your App store distribution, and if you use the wildcard app ID, you can use the same provisioning profile for multiple apps.
Step 4:build Settings (Build settings)
Configuring the app ID, distribution certificate, and provisioning profile is complete, and it's time to configure the build settings for target in Xcode. Select a target in the targets list in the Xcode Project Navigator , open the Build Settings option at the top, and update the Code Signing To match the previously created distribution provisioning profile. The recently added provisioning profiles is sometimes not immediately visible in the build settings Code Signing , and restarting Xcode will solve the problem.
Configure Target's Build Settings
Step 5:deployment Target (deployment target)
It's very necessary to say that each target in deployment Target,xcode has a deployment target, which can indicate the minimum version that the app can run. However, once the app takes effect in the App Store and then modifies deployment target, you have to take into account some consequences. If you upgraded the deployment target while updating the app, but the user who has already purchased the app does not encounter the new deployment target, then the app will not run on the user's mobile device. If a user downloads an updated app via itunes (not a device) and then replaces the original version on the device, it turns out that the new version doesn't work on the device, which is really a problem.
(1) When you decide to increase the deployment target for your existing app, you'll need to explain it in the release notes for the new version. If you tell the user in advance, at least one thing, you've tried to stop the problem from happening.
(2) for a new app, I often set deployment target as the most recently released system version. Since the release of the new iOS version, the rate of penetration growth is incredible. Many people think that raising deployment target will lose most of the market, which is inaccurate, for example, one months after IOS 6,ios 6 was released, more than 60% devices have been updated. But for Android, it's another matter, and Android users won't be as enthusiastic about updating OS versions as iOS users.
"In short, it's best to decide whether or not to consider a compatible, low-version user from the project design, and if it's the new version of iOS when writing code, it's best to make a decision if the old version is"
On the latest WWDC2014, published figures show that IOS7 's market share has been 87%
2. Assets (Resource bundle)
Step 1:icons (Icon)
Icon is an integral part of the app and you want to make sure the icon size doesn't go wrong.
ITunes artwork:1024px x 1024px (required)
Ipad/ipad mini:72px x 72px and 114px x 114px (required)
Iphone/ipod touch:57px x 57px and 114px x 114px (required) 120px x 120px (required) for iphone5/iphone5c/iphone5s
Search icon:29px x 29px and 58px x 58px (optional)
Settings application:50px x 50px and 100px x 100px (optional)
Step 2: Screen
The role of the screen is self-evident, you can upload 5 for each app, although you need to upload at least one, it may be very few people will only upload a picture. In addition, you need to prepare different screens for iphone/ipod touch and Ipad/ipad Mini, respectively. This is not a small amount of work, but it can show the other side of the application. Shiny Development has developed a $6.99 Mac software Status magic that can save you a lot of time. The status Magic can help you put the state bar in the right place.
Screen and icon are applied to the user's first feeling, directly related to the user will not buy. However, the screen you upload does not have to be practical, see where ' s My water? Can be more attractive and persuasive by using this strategy.
When we are connected to the commissioning machine. You can easily intercept standard-sized images using the new screenshot in organizer in Xcode.
Step 3: Meta data
Before submitting your app, manage your app's metadata, including 1 app names, 2 version numbers, 3 main categories, 4 concise descriptions, 5 keywords, 6. Support URLs. If you need to update your app, you'll also want to provide new additions to the version.
If your app needs to sign up for "open app login, like Fetion", you'll also have to provide Apple with a test account or demo account so that the auditor can quickly get into the app without having to sign up for the account.
3. Preparation for submission
After Xcode 4, the developer submits the app in a much simpler way, and you can submit it directly using Xcode. First create an App in itunes Connect, access itunes Connect, use your iOS developer account to log in, click on the "Manage Your apps" On the right, click on the "Add New app" in the top left corner, select "iOS app", Then complete the form.
(Note that the app you created is the project you developed, and the name and ID must be the same). Https://itunesconnect.apple.com
Click to enter
In the top left corner, add an app that will be listed below if your Development Account has already submitted the app before.
The first page, choose the language, the app name, Skunumber,bundleid (will let you choose the AppID you created your project). (FAQ: Name, description, new description, keywords, support URL, contact information, Review ntoes) can be changed when we make a version update
SKU number is a special string used to identify the app. I often use the bundle identifier of the app. The bottom is the Bundle IDof the app, and you can choose the wildcard app ID or the exact app ID from the down menu.
This page is the date the app was selected for online (because Apple also needs to be audited, usually postponed for a few days), the price, and whether it supports educational institutions or the like.
The above page is written version number, company name, software first category, sub-category (note two categories must not repeat, otherwise will not pass), as well as rating division.
The above is the description of the software content, keywords, technical support URL, as well as the following technical owner's name, surname, email, mobile phone number, these are very simple, you all understand.
--------------------------------------------------------------------------------------------------------------- -------------------------
Next is to choose AppIcon a 1024x1024 software icon, let the UI do it, I do not know why the software icon to do so big;
Continue to upload 5 software, to select the most important image display, size is 640x960,xcode on the integration of features, then open the Window-organizer View window, click on your mobile phone tab under the screenshot, you can, the size is right, very convenient OH pro.
After the finished check, click Submit.
Choose whether to use a variety of encryption technologies, whether to use third-party content, whether there are ads, etc.
--------------------------------------------------------------------------------------------------------------- -------------------------
OK, go to this step, basically is completed an app created, here are listed your Skunumber,bundleid,appleid, everywhere edit Click Enter can modify the information just submitted, see Red Circled State: Prepare for Upload do not think that at this time the work is done, a step, if you close the page, prepare the final step, you will find that the error. That's why I've been around for a while.
Click to sit down the view details after entering the page back will be a detailed list of this software shows the software name, description, software, technical contact information, etc. After reading the error, be sure to click on the lower right corner (or the upper right corner) of the button (ready to Upload Binary), only click on this button, will change the status of the current state is: Waiting for Upload.
Note: If you are ready for upload status, package the submission app under Xcode, there will be: No suitable application records were found.
Please make sure, which has set up a record for this application the error prompt on ITunes Connect. 】
At this point, if your home status becomes: Waiting for upload so congratulations, this step passed smoothly, leaving the last. (Note above, click Continue, complete all the work of the webpage).
4.xcode operation: Set up certificates, build package, submit project.
To open Xcode, first make sure you have the distribution certificate configured, and see me below.
Make sure both Debug and release are selected distribution certificates that we have applied for. To the next step, some tutorials say create a new codesigning identity I also tried to create, but it is not recommended to create a novice, because the use of release can still be packaged, innovative new identity think will make the novice more dizzy dishes. (As above)
5. Uploading binary files
- Next package the application (if you have already applied to publish the certificate and install, do not apply, please refer to the link at the beginning of this article to operate)
A. Open Xcode, select product->archive (must use the real machine)
B. Then choose Distribute ...
C. Select a second
D. Select Publish Certificate
After clicking Next, the. IPA file is generated
3. Upload the. ipa file, and you'll need to bring your own application Loader
A. Select Application in finder (applications), right-click to select xcode-> Display package Contents->contents->applications->application Loader
B. Open application loader will appear the login screen, the same login to the Developer Center account login, the first login will appear a accept agreement page, hit √ Continue on the line
C. After you choose Deliver Your App, you will be in the developer center to fill in the project, is waiting for the upload status, choose to upload an IPA.
4. Upload successful and then return to the Developer Center, refresh the page will find the project is waiting for approval status, the normal audit cycle is 5 business days
Attention:
During the process of uploading an. IPA file using application loader, the following issues were encountered,
By modifying valid architectures delete arm64/arm7s, only the ARMv7 method is reserved To resolve the problem:
Remind:
If you use Cocoapods for third-party class library management, you need to cocoapods the project you are managing (Valid architectures Delete arm64/arm7s, keep armv7 only)
Ha ha. First release. Met a lot of problems, got a lot of friends to help, thank you very much.
Also hope that this article will be released to the system you have some guidance, help. Then I will be very happy too.
Ps. When our IPA file through application loader upload, suddenly found that the wrong. If you want to replace the upload again. You can use the following steps:
1.https://itunesconnect.apple.com access to our application
2. Click View Detail
3. After entering view detail, in the upper right corner there is
Select Binary Details
4. After entering the page, click Reject this binary.
5. Re-package via archive, re-upload via application loader
Reprint Please specify source: http://www.cnblogs.com/JuneWang/p/3836610.html
Questions about applying updates and more
Because I have not experienced the application update, so the content is excerpt from http://blog.csdn.net/mad1989/article/details/8167529
OK, next, how to use the IDP certificate, developer account, through the formal way, export IPA, installed on any iphone (pro-test jailbreak mobile phone)
When we were in the last few steps, the package build, watching your project's products folder, has generated a real app, but this is not what we really want. IPA file. Select the app under Product, right-click the show in Finder, open our itunes, and drag the software to itunes.
At this point, our software was dragged into itunes, but found no software icon Ah, do not fear, it is very normal. Right-click Software, select Show in Finder (as above)
At this point, this software is the IPA we want. I tested the phone after installing to jailbreak, no problem at all (don't worry about the certificate) "Note: The jailbreak phone version must be higher than the software version requirements"
I haven't tested my jailbroken phone yet, but I don't think I should be able to install it because Apple's review mechanism is very strict and must be installed in a mobile phone with a profile provision (which is already reflected in the real-machine deployment test)
May 30, 2014 interrupt
If you have seen here, I really admire you can endure my so tedious wording, because of time reasons, write a blog is not very easy, so some language or typesetting organization is not very good, 1 years, now I finally understand the whole debugging and release and multi-person development process, if you are also hazy state, It feels like Apple's mechanism is in trouble, or when it comes to multiplayer development: Valid signing identity not found may suggest that you look at my other article, the end of the article introduces certificate, App ID, Devices, Provisioning profiles between the difference and contact, I believe you will come to an epiphany after reading!
Valid signing identity not found solution (original IDP private key lost) and certificate, App ID, Devices, Provisioning profiles difference between/HTTP blog.csdn.net/mad1989/article/details/8699147
Well, thank you guys for seeing this, and that's a bit verbose, but if you follow this step, you'll know the principle as you go through the process. At least not see a tutorial, and see another tutorial, are different, anxious.
What questions can I leave a message, I see will try to help you solve, learn together, grow.
Free Portal One: http://www.cocoachina.com/special/market.html
20121109
Mryang
January 14, 2013 Latest update: New version submitted for review
When we pass through a lot of levels, the new project finally after the AppStore on-line, it will encounter maintenance problems, then the new version submitted, it is not so complicated, if you understand the above tutorial, the new version is a few places to pay attention to, listen to my slow way.
1, the first need to modify the code, that is, you need to have updated content, such as features, such as a bug (seemingly nonsense)
2, when you are sure everything is OK, you need to set the project version and build number, new versions
Version is displayed externally, and (Itunesconect and AppStore users can see it), and build is invisible to the developer, which is equivalent to the build number. "When you update a version, it's higher than the previous build number."
3, Login to the Ituneconnect website, on the right side of the project, click Add New version, pop-up prompts to enter the version name and update content, after the event point save.
4, on the website detailed review of the new version name and update content, and whether there is a need to replace, OK after the point in the upper right corner of ready to binary, the site is set up. The next step is Xcode submitting a new project. "This setting has a hint that needs attention, as follows"
Let you choose to be approved after the automatic update to the store, or manually control the update yourself, very user-friendly.
5,xcode set Codesign identity for the published certificate, divice Select Iosdevice, then build and then archive, as it was on the first release.
6, open the Organizer Interface Archive tab, check the error, first verify validate after distribute.
After the wait, if there is no problem, refresh the Itunescnnet website, your newly submitted project status becomes:waiting for Review
20120114
Error rollup "continuous update" ********************************** when packaging uploads
Error uploading: Application failed codesign verification.
It means that your signature is incorrect, when you pack and distribute the app, be sure to use the release mode and select the certificate as your own distribution publishing certificate.
About validate Built product set Yes or no
Sometimes the package encounters an error, and the web says that the target setting----->build------>validate Built product options are removed or set to No. Searching the internet for validate Built product meaning, probably means to turn on built-in authentication, such as some apple-specified icon size is 57x57, and your icon size is not this, will cause the publishing failed.
Error uploading: Code signing is required for product type application in SDK IOS 6.1.
This is to say that the Debug certificate selection is wrong, the workaround:
TARGETS--Build Settings---code Signing--and code Signing identity set to IPhone Developer
That's OK.
Upload warning: CApplication failed codesign verification. The signature was invalid, or it is not a signed with an Apple submission certificate. (-19011).
This warning, there are many people on the internet, but there are divergent opinions, seemingly no authoritative solution,
The first step is to develop a habit of looking up official documents: https://developer.apple.com/ios/manage/distribution/index.action
To understand the real-machine debugging and release of the application of several steps, not even the app has not been created, just want to use Xcode packaging release Ah! Also understand the roles and differences between Debug and release.
This warning, as I understand it, is:
The premise is that Xcode is a recent version, and the SDK for the project is at least common. AppID correct, both the true Machine Debug certificate and the distribution certificate correspond to the current Xcode settings.
First check that your project info is correct, and that the target setting is correct.
Then take care not to use the simulator build, to choose Device, to Edit scheme to view archive, is not the use of release!
If not, delete the relevant files in the keychain and re-apply to ADP for download!
20130510
Error uploading: Failed to get the task for process 624
This error happens if you have the set distribution Provisioning profile in code signing. Change it to Developer Provisioning profiles, then it'll work. Worked for me for Xcode SDK 4.5.
Change your code sign from distribution to developer. It's that simple.
Error uploading: Cfbundleversion
The error is that the bundleversion in our project Info.plist file is mistaken, and this attribute requires a numeric value of type int to be changed as shown.