Article reference from:
Http://www.cnblogs.com/WayneLiu/p/4993391.html?utm_source=tuicool&utm_medium=referral
http://blog.csdn.net/jeepxiaozi/article/details/43373243
Before the Xcode7, the user is not directly debugging the real machine, you must have a developer account can be real machine! Once the Xcode7 appears, users can install the app directly on their phone.
Real-Machine Debugging steps:
1=====> first you have to pay Apple 99 knives to become Apple's full-platform developer (Xcode7 before, 99 can only develop iOS apps), he will turn your Apple ID into a developer account, this is the most basic.
2=====> your developer account in the preference of Xcode.
3=====> Register app ID and fill in the bundle in Xcode Identifier
Add an App ID to the developer website, which is the app ID that belongs to your app:
---------------------------I'm a gorgeous split-line-------------------------
Bundle ID generally write COM. Name of the company. Application Name
Then continue
---------------------------I'm a gorgeous split-line-------------------------
Then open Xcode and select Target > Summary. Enter the Bundle Identifier (App ID)registered above in the Identifier input box.
---------------------------I'm a gorgeous split-line-------------------------
4=====> Creating a publishing certificate (distribution Certificate)
iOS apps have a security certificate for verifying developer identities and signatures:
1. CSR Signing Certificate:
Open the keychain on your Mac, then open the Certificate Assistant and choose to issue a certificate from a certificate authority
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
2. Distribution Certificate:
,
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
Add just the. CSR signature file.
Then download the certificate and double-click Install Certificate.
In the final step, open keychain Access. Select the private key that you just installed, and the export item in the Select menu exports the private key. Back up the exported private key to a safe place so that the system can be restored later. (This share is shared by the team)
5=====> Create Distribution Provisioning profile (commonly known as PP file)
1. Open provisioning Portal, select provisioning-Distribution, choose Add a new profile, distribution method to select the App store,app The ID needs to enter the app ID that you requested earlier. The certificate also selects the. cer file ( generated with the CSR certificate)that you just started the application for, and then you can download the generated Provisioning profile certificate after submission, and double-click the certificate to install it automatically. Post-installation profile is added to Xcode.
Steps:
,
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
---------------------------I'm a gorgeous split-line-------------------------
6=====> uses distribution profile for the application signature: (This certificate contains 2 things, a signing certificate is an app ID)
Open Xcode and select Code Signing in the Build Settings . On the Release setup, select the distributionprofile you just requested.
Click Edit Schemes to set Archive to release.
Select the device as iOS device or generic iOS device, then click Product->archive to start packaging your app.
7=====> add an app to ITunes connect:
Open in Browser: https://itunesconnect.apple.com/, then click My app
Create your app on itunes Connect
Then click on the "+" sign in the top left corner and select New iOS App:
------------is mainly the following---------------
---------------------------I'm a gorgeous split-line-------------------------
Then pop up the following message box and fill in the complete content:
It is important to note that if you choose a package ID, you will need to go to the developer portal below to register for a new suite ID if you do not have a matching package ID.
Improve the information you need for your application
The first is to improve the app video preview and screenshots and so on, it is best to use the real machine directly screenshot (so that you do not have to adjust the pixel problem), upload can
Then it is to improve the application name, description, keywords and technical support, marketing support, privacy policy and other relevant web sites and the comprehensive information of the app,
One of the things to be aware of here is the rating, which needs to be determined according to the content of your application, but let's take a look at the following rating:
This remember to fill in according to the actual situation of their application, and then add the audit information, here to pay attention to the demo account, and so on, if your application needs to log in to do most of the operation, it will need to provide a corresponding test account, but also I did not submit a third party login application, In order to avoid the failure of the audit, I also provided a test account.
Then the other is such as pricing, trial release, etc., can be selected according to the actual situation of the application. After
We need to pack and upload our app, i.e., submit build:
8=====> Package app, submit to App Store
This allows you to add a local app to connect and then build it.
Again, this time the submission is due to Xcode7 or ios9 problems:
1). When submitting the App Store, this error suddenly occurs (Xcode7 never encountered before, do not know whether it is Xcode7 or iOS9 pot)
The search for technical articles says there are three situations that can cause this problem:
1. Check that the boot image is not in. png format
2.Put those images at the root level of your project
3. Place a boot image named "[Email protected]", the size is 640?x?1136 pixel placed in your project root directory
2). When you fill in the information in the itunes Connect, the app picture is not legal, first of all must ask the size is 1024*1024
The cause is that your picture has rounded corners
Workaround:
1. Use the Paint tool to save it as a. jpg format, and then convert it to. png format (you can also do not have to go)
2. Open with preview, and then export it in the menu bar: file. Remove the alpha tick in the popup box.
3). When you fill in the information in itunes Connect, the screenshot picture is not the method (here is the pixel I manually changed, too painful, I do not want to get ...)
Your size must be required:
3.5 640 x 960
4.0 640 x 1136
4.7 x 1334 5.5 1242 x 2208 ipad x 768 hope to help everyone!!
Xcode7 package upload to App Store