Current location - Quotes Website - Signature design - How to package the code into an app and publish it to the app store?
How to package the code into an app and publish it to the app store?
Even applications need a developer account, so I won't elaborate on registering a developer account here. Then naturally, the App is ready. Make sure that the iOS application has been fully tested in the emulator to confirm that there are no known errors. After all the work of App publishing is ready, you can publish it and apply it to the App Store.

To sum up, application publishing requires the following processes:

1. Register the application ID and specify the bundle identifier in Xcode.

2. Create a distribution certificate.

3. Create a distribution preset description file.

4. Sign the application with the distribution profile.

5. Packaging application 6. Uploading an App on iTunes Connect Most of the above operations are done in preset portals, XCode, keychain access tools and iTunes Connect.

Uploading the App must be executed in Xcode software (that is, there must be systems such as MacAir and MacMini running Moc OS X 10.x, preferably the latest version such as 10.7). XCode, the integrated development environment of Object C, is currently version 4.3.2. Other operations can be done in a normal browser. Publish an iOS app to the App Store-first create an App ID and apply for an App ID for the iOS app, which is the unique identification of your app.

Log in to the iOS developer website, click the iOS preset portal link on the right, and select the application ID. Select to create a new application ID. Enter the description information of the application in Description.

The package identifier refers to the code identification of the application. You can identify it by company name and application name, such as com.company.demoapp, then open the X code and select Target > Summary. Enter the package identifier registered above in the identifier input box.

Publish an iOS app to the App Store- Create a distribution certificate The iOS app has a security certificate to verify the identity and signature of the developer. It is described in detail under the "Distribution" column of the provisioning portal.

But the whole can be summarized as the following steps.

1. Turn on Keychain Access and turn off OCSP and CRL in preferences.

2. Click the Keychain Access menu, and then select Certificate Assistant >; Apply for a certificate from an authority.

3. Enter the email address and select Save to Disk, so that I can specify the key pair information. Click Continue to continue.

4. Select the key size of 2048 bits and RSA algorithm, and then click Continue to continue.

5. Then a. CSR file will be generated on the desktop.

6. Then enter the configuration portal and select Certificate->; Distribute->; Add certificate to add. The CSR signature file you just created.

7. Download and install WWDR intermediate certificate while waiting for audit.

8. Refresh the page and then you can download the certificate. Install after downloading.

9. The last step is to open the keychain access. Select the private key you just installed, and select Export Item in the menu to export the private key.

Back up the exported private key to a safe place so that it can be recovered after reinstalling the system. Publish the iOS application to the App Store- Create a profile of distribution preset, open the preset portal and select preset-> Distribution, select to add a new profile. The distribution method is App Store, and the App ID needs to be entered in the App ID of the previous section.

After submission, you need to wait a while to refresh this page.

You can then download and install the configuration file. After installation, the profile will be added to XCode.

Publish the iOS app to the App Store- check the signature and build settings, open XCode, and select code signing in the build settings. Select the publishing profile you just applied for in the publishing settings.