Recently in using Hbuilder to do cross-platform development, after some research finally in the Apple store shelves successfully a product! This product is very simple, packaged directly with Hbuilder, and then uploaded to the store. Refer to the iOS App submission App Store This article combines hbuilder, from application packaging, to the process of submitting to the Apple Store in detail, hoping to help the needy brothers and sisters,
First, Packaging:
After the application has been written, it can be packaged, Hbuilder cloud packaging is simple, but you want to publish to the store, you need a certificate,
Select "Use Apple certificate"
1. Pre-work
Here you will need to use APPID, profile profiles, and private key certificates. Here is a detailed explanation of the three application steps
Required conditions: Apple Developer account, Mac system
Apple Developer Account: I use the company account directly, so save the steps to apply for the account, visit the Apple Developer Center Https://developer.apple.com/account/overview.action Register or login account,
Login interface
1.1 Creating AppID
After logging in, find identifiers
Click AppID
Next point plus, to Dot Plus
Then you will jump out of an interface, there are two forms to fill out their own, the name and bundle Id, respectively
APP Name
The above translation is: The app ID string contains two parts separated by a period (.)-the app ID prefix (defined by default as your team ID) and the app ID suffix (defined as the bundle ID search string). Each part of the APP ID has different important uses
Here name can be filled, no restrictions, preferably the project name, so as to facilitate their own identification (not allowed in Chinese);
The other one is bundle Id.
Bundle Id
This is your AppID suffix, this needs to be carefully. Because this content and your program directly related, many places to use, preferably com.yourcompany.yourappname format, I use the project bundle ID (anyway this is the most insured)
There are a few app servers, it is recommended to choose the push push notifications, as for why I am not too clear, the choice is certainly true.
APP Server
Here is the way to click the past Continue,registe,done, the last sign of the success of the ID is this
It worked.
1.2 Certificate of Application
Here is the need for a Mac system computer, if there is an apple that the best, no matter, you can install a virtual machine AH.
Here's a link to a virtual machine-mounted Mac system: from 0 to 100 installs, virtual machine installed Mac;
If you encounter an error, you can refer to the following link, cannot find the installation disk see here: Please select the disk to insert; Unrecoverable error See here: Unrecoverable error: (vcpu-0); lock file failed, cannot open the disk or snapshot depends on the disk solution: scheme;
Well, now that we have an Apple computer, we can apply for a formal job.
1.1.1 Request File Certificatesigningrequest.certsigningrequest
In the utilities found-keychain access (key CHAIN), in the Certificate assistant, select "Request a certificate from a certification authority" such as:
In the interface shown, your email address: Fill in your application for IDP email address, common name, default is OK, CA empty, choose Storage to disk, click "Continue":
Choose a location to save, such as choosing a desktop. Next click Finish, you can see that your desktop has more than one Certificatesigningrequest.certsigningrequest certificate request file.
Note: The CSR file is made as often as possible for each certificate , separating common names, because the common name is the name of the key in the certificate.
1.1.2 Making a description file provisioning profile
Log in to the Developer Center, locate the Certificate configuration section, and click the plus sign in the top right corner:
Publishing certificates and developer certificates requires two operations, created separately, developer certificates for real-machine debugging, and publishing certificates for submission to AppStore. Note the distinction of these two files.
Next, you will be prompted to upload the CSR file, which is the certificate signing request file. The certificatesigningrequest.certsigningrequest of the previous application,
Once submitted, a CER certificate is generated and is valid for one year.
Download it down like this,
To do this is not enough, our ultimate goal is to have a suffix named. mobileprovision certificate.
So continue
Locate provisioning Profiles, and then click the plus sign to add
Select the certificate category, the developer certificate, or submit the App Store certificate as needed, then continue will show you the interface to choose AppID. Select the AppID you just created
Choose the point to continue, and then let you choose a certificates, this is probably the developer license, that is, the suffix CER, select the one you just created.
Then the next step to fill in the name of the document, this is not limited to individual
Fill in the name can have a description of the file, download it, the suffix is. mobileprovision, download it can be used.
1.1.3 Private Key Certificate
This is a very important certificate,
This, is to put the previous download Ios_distribution2.cer, or (Ios_development.cer),
Then double-click Add File to Keychain
Click Add, you can see it in the keychain.
The next step is to export the. p12 suffix certificate, right-click the file you want to package, then click Export
Store the time back to prompt you to set a password, in the Hbuilder packaging will also have a private key password, is set here,
All right, fill in the blanks, and the exported files will appear in your manuscript.
To do this, the preparatory work is done. Here's how to package with Hbuilder, choose to use your own certificate, select the corresponding file that is generated, and then package the file that generates the. IPA.
Second, shelves
The IPA file is ready to go through Xcode, My computer is the latest Mac system, MacOS Sierra. Why should we emphasize this? Because the latest Apple systems are on the shelves, you must download the latest Xcode. Or you'll get an error.
2.1 Creating a program in itunes
Sign in to the iOS Developer Center, find and select itunes Connect (you can see it when you sign in to the account, or under distribute at the bottom of the page), select my app
Click on the upper left corner of the + select "new app", according to their own app and then fill in the corresponding information, because the project is more, do not explain, but the notes will be written:
(1) When choosing a language, Simplified Chinese is Simplified Chinese, do not find Chinese, can not find the ~
(2) The package ID and SKU are the only logo of the app, and I am using the content of bundle identifier in the project, that is Com.company.projectname
2.1.1 Image upload Size requirements:
(1) The screen must be in accordance with the size of Oh, there will be a hint of the size is how much, you can only upload a group of 5.5-inch screen, and then the other are selected 5.5-inch display can be.
(2) The size of the upload logo is also required, must be 1024*1024, and can not have rounded corners
2.2 Build version
This build is the one that was mentioned at the beginning of the listing, and if you are the latest version of the system, be sure to download the latest Xcode
Open Xcode and select the application Loader inside the development tool.
Once opened, double-click the delivery app to upload the packaged. IPA file.
After the success, after a 30-minute or so, you will have a plus sign on the build side, and then you can add the software that needs to be on the shelves.
In addition, the audit information to fill in accordance with the standard
As for the demo account, I did not fill in the submission, but it is suggested to fill out, it is said that not fill may be rejected.
are almost ready to be saved, submitted for review, audit success can be downloaded in the App Store ~
The end
Version update:
Version Update if you follow the previous steps, you will get an error.
So here are some changes to be made in the Mainfest.json inside the revision number, this according to their own needs to fill in
This doesn't seem so important, it's important to add a version to itunes Connect, and then submit it with Xcode, and you can select it in the build version.
This article refers to:
Ios app submission on-shelf latest process
Combined with Hbuilder's cloud packaging and finishing
Thank you for reading and welcome your valuable comments.
Transfer from Https://www.jianshu.com/p/665c1d67adde
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.
Hbuilder packaged iOS app shelves AppStore process with own certificate