Guide to cloud packaging Apple certificate generation, listing and application screenshots

When using cross-end development tools such as apicloud or hbuilderx to develop mobile applications, if you are packaging an iOS application, you need to generate an Apple certificate, a certificate profile file, and put the application on the shelf.

First of all, we need to popularize a concept. Apple's applications cannot be hung on your own server like Android and can be downloaded and installed directly. Apple's applications need to be put on the App Store and then downloaded from the App Store. Whether you are generating an app for internal testing or an app to be put on the App Store, you need an Apple developer account. Therefore, we first need to apply for an Apple developer account at the Apple Developer Center. If you do not have an account yet, please refer to the following. Tutorial: First apply for an Apple developer account:

https://blog.csdn.net/weixin_48914851/article/details/128963761

After you have an account, let’s talk about the certificate generation process:

  1. Log in to the Apple Developer Center, enter the console, and then click Certificates on the console to enter the certificate management interface. Here we click the blue plus sign on the right to start generating cer certificates.

Please note that during the process, it will pop up asking us to choose the type of certificate. Here we only choose the ios distribution ad hoc and app store type. We cannot choose other types. Especially many people choose the wrong apple type or dev type, which is not possible. Used for packaging.

  1. Then during the process, the following prompt popped up, asking us to provide a csr file. So where does this csr file come from? It is troublesome to use a Mac computer to generate this CSR file. We will not introduce the method of creating it using a Mac computer here. Please see step three

  1. We can use the Banana Cloud Editor tool to generate this CSR file. The address of Banana Cloud Editor is as follows:

地址:https://www.yunedit.com

After logging in to Banana Cloud Editor, create a csr file as shown below, and then download it to our local computer:

  1. After creating the csr file, return to the Apple Developer Center and continue step 2. Upload the csr file to generate a cer certificate. After the certificate is generated, download it to our computer locally.

  1. Then go to Banana Cloud Editor, upload this cer file, and then use the generate p12 file function to generate a p12 certificate dedicated to packaging.

Through the above steps, we can already generate the p12 certificate.

下面我们说下如何生成证书profile文件(描述文件)

  1. 登录苹果开发者中心,点击identifies(简称appId),生成一个appId,这个appId要跟我们在开发工具打包时填写的包名一致。假如已经创建,可以跳过此步。

  1. 点击profiles,开始创建profile文件,创建的时候,profile文件的类型请选择app store(假如要创建真机测试类型的证书类型,请看第三步),过程中它还会要求我们选择appId和选择cer证书,这个过程选慢一点,假如你有两个appId或两个证书的时候,很多人会选错。

  1. 好了,通过上面的两步,你已经可以生成发布类型(app store类型)的证书了,假如你想生成的是测试类型的证书,那么创建profile文件的时候,则需要选择ad hoc类型,创建这个类型的profile在创建的时候流程大致和第二步一样,但比第二步要多出一步需要填写测试设备的udid,因为测试包只能安装在特定的手机,假如你不知道怎么获取这个udid,你可以使用香蕉云编的下图这个工具去获取udid:

到了这里,你已经知道如何创建证书和如何创建证书profile文件了。

最后,我们说下应用上架和借用截屏的流程:

  1. 登录苹果开发者中心,进入控制台,在控制台首页点击app store connect,进入app store的app管理页面,创建app,如下图:

(创建的时候,app的bundleId(套件ID)必须要跟打包的包名一致。)

  1. 点击app进入app的详情页,填写各项上架的资料,准备上架。过程中它却需要我们上传各种尺寸的app截图,假如我们没有这么多种设备,我们可以使用香蕉云编的合成截图功能,帮助我们生成各种尺寸的图片:

  1. 应用上架的过程中,它会要求我们选择构建版本,这个构建版本它却要求我们使用xcode上传上来,假如我们没有mac电脑,怎么办呢?我们也可以使用香蕉云编来上传这个构建版本。

我们可以去到香蕉云编的上传界面来上传这个构建版本:

上传的过程中,它会要求我们输入苹果开发者账号的账号名,和上传专用密码,这个专用密码要注意,不是登录密码,而是专用密码,假如你不知道专用密码怎么设置,你可以参考上传界面密码输入框下面的设置教程。

好了,到这里,已经把证书、上架的各项流程都说清楚了。祝你们上架成功!

Guess you like

Origin blog.csdn.net/h5xiaoyu/article/details/129265484