Before you write:
Prepare a project in advance and set up the start Picture and application icon. This example prepares an empty project named Test888.
One, create a certificate request file (signing certificate) on the computer
First, we need a Mac operating system.
Then do a demo on OS X EI Capitan 10.11.4 os.
First, open 应用程序
, 实用工具
钥匙串访问(KEY CHAIN)
as shown in:
Applications-Utilities-keychain Access
Of course, you can also Launchpad
其他
钥匙串访问
Keychain Access. png
In the Certificate assistant, select 从证书颁发机构请求证书
:
Keychain Access Certificate Assistant. png
Click 从证书颁发机构申请证书
to enter the following screen:
Certificate information. png
注意:1> 电子邮件地址: 填写你申请开发者账号的电子邮件地址2> 常用名称: 默认就好3> CA电子邮件地址: 空4> 请求存储到磁盘(到时可以选择保存到桌面,方便找到使用)
Click Continue to go to the following screen
Save. png
Click Storage to save the request file to the desktop
The signing certificate on the desktop. png
At this point, you can see a CertificateSigningRequest.certSigningRequest
certificate request file (CSR file) on the desktop.
注意: CSR文件尽量每个证书都制作一次,将常用名称区分开来,因为该常用名称是证书中的密钥的名字。
Double-click the CSR file to install签名证书
Install the certificate request file. png
Click Continue, select为您自己创建证书
Create a certificate. png
Then click Continue
Create your certificate. png
Click Create, make自签名根证书
Create a self-signed root certificate. png
Click Continue to create the certificate successfully
The certificate was created successfully. png
签名算法: 带 RSA加密的 SHA-256公共密钥信息: RSA 加密,公共密钥256字节
Two. Preparation of Release Certificate 2.1 preparatory work
First, you need to have the following conditions
1> 苹果的开发者账号2> Mac操作系统3> Xcode(这里使用的是Xcode7.3正式版)
If you don't have an account, you can open http://developer.apple.com/to sign up for Apple's developer account. Developer account specific application process, no longer detailed here.
If you already have a developer account, open http://developer.apple.com/
Developer site new home. png
Click to Account
enter the login interface to the Apple Membercenter as follows:
Login interface. png
Enter your own developer account, log in, and enter the following screen:
Developer Account Home page. png2.2 Publishing Certificate Production
Click Certificates,Identifiers&Profiles
to enter the following screen:
Add the certificate interface. png
Click the plus button in the upper-right corner and selectProduction -> App Store and Hoc
Select Make Publishing certificate. png
and Ad Hoc这是因为一个 Production 中最多只能有两个 iOS Distribution 文件,删掉即可。
There can be a maximum of 2 distribution files. png
ClickContinue
CSR file. png
Since the CSR file has been created, click directly and Continue
then上传 CSR 文件
Generate your certificate. png
Click Choose File
to select the requested file configured on the Mac
Select the request file. png
Click Continue
, this time, the release certificate has been produced
Publishing certificate finished. png
Click Download
, then there is a. cer certificate file`ios_distribution-8.cer
Publish a certificate file
`
Double-click Install certificate (if not installed, you can drag the certificate file directly into the list of keychain access)
The certificate has been installed to the keychain. PNG III, Production Provisioning Profiles certificate (PP certificate)
So far, the required certificate on the shelves is not complete, want to submit AppStore, also need PP certificate.
1> PP证书分为 开发用的PP证书 和 发布用的PP证书,这里我们制作的是 发布用的PP证书2> 制作 PP 证书,需要 App ID 和 发布证书(发布证书在上一步已经做好了)
3.1 Apply App ID
Select App IDs
Choose App Ids.png
Then click the plus sign in the top right corner to create a new App ID
Snip20160426_36.png
注意: 这里有两项需要我们自己填:1> 第一项 ‘Name‘,用来描述你的 ‘AppID‘,这个随便填,没有什么限制,最好是项目名称,这样方便自己辨识(不允许包含中文);2> 第二项 ‘Bundle ID (App ID Suffix)‘,这是你 ‘App ID‘的后缀,这个需要仔细填写。因为这个内容和你的程序直接相关,后面很多地方都要用到,最好是‘com.yourcompany.yourappname‘的格式,说白了,就是用项目中的Bundle ID(这样是最保险的)。
Choose the services you need in your app
APP Services.png
注意:1> wildCard格式的证书没有推送,PassCard等服务的应用,慎重选择。 2> 有一个区别,因为PP证书的开发者证书需要真机调试,所以我们需要绑定真机,如果没有的话,需要将真机的udid复制出来在此添加,在发布PP证书中,是没有这一步的。
Click Continue
to enter the following screen
Confirm your App Id.png
Confirm APP ID information, if correct, clickRegister
Registration complete. png
Click Done
, then the APP ID is applied successfully
Test8883.2 PP Certificate for production and release
Click Provisioning Profiles, then click the plus sign in the upper right corner
Publish the PP certificate. png
Click Continue
, and select our own App ID
Choose your App Id.png
Click Continue
to select Publish Certificate
Select Publish certificate. png
Click Continue
, give the PP certificate a name
To name the PP certificate
Click Continue
,, pp certificate completed
PP certificate completed. png
Click Download
to download the PP certificate,
Certificate. png
Double-click the PP certificate to add it to Xcode
Iv. Configuring the Project Environment 4.1 account configuration
Xcode Preferences
Account
,
Account configuration interface. png
1> 点击+可以选择Add Apple ID;2> 点击View Details可以查看该Apple Id下的Certificates和Provisioning Profile证书文件,在这里你可以点击下载。
View details interface. png4.2 project configuration
In the identity under project targets, the team chooses the corresponding Apple ID to
Select the corresponding Apple Id.png
In the project settings of Xcode, Provisioning profile can select the corresponding certificate.
Select the corresponding PP certificate. png
So far, the preparatory work is done.
Five, IPA packaging 5.1 archive online packaging
In the real-State selection Product
- Archive
-(if not in the real state, archive will be grayed out), the success will pop up like:
Operation steps. png
Archive the interface returned after successful online packaging. png
1> Validate表示验证,Export表示导出2> 建议先点击Validate进行验证,验证的过程有点慢,但是为了审核顺利点,还是验证下为好。3> 验证成功后点击Export导出ipa的包用与上传即可。
Export Ipa.png
Test888.ipa.png VI, IPA submit app Store6.1 create program in itunes
Choose ITunes Connect
ITunes Connect.png
Go to the itunes Connect webpage. png
Go to the ITunes Connect webpage
ITunes connect home. png
Open My app and click the plus sign in the top left corner to create a new app
New App.png
Pop up the following screen to set up app information
App info. png
1> 名称:指的是App上架后,显示在App Store中的名称2> 主要语言: Simplified Chinese(简体中文)3> 套装ID: Test888-com.iOS.www.* 就是之前申请的 App ID4> 套装ID后缀: Test888 后缀就是Xcode中的 Bundle Identifier 最后一个点后面的内容(本例中是 Test888)5> SKU: 可以使用项目中的 Bundle Identifier
Click创建
App information interface. png
价格与销售范围
, according to the app to fill out the different
Price and sales range. png
After setting up the app information, click 准备提交
to enter the following screen
Prepare the submission interface. png
Set upApp预览和屏幕快照
Screen shot. png
注意:1> 这里需要不同屏幕的,可以直接用模拟器运行后。待模拟器运行开始的时候,按住cmd+S, 模拟器的屏幕就直接保存在桌面上了2> 每种尺寸的屏幕必须是在模拟器100%的比例下进行截取。否则会报错。3> 上传的时候会提示“无法载入文件”的问题。原因是:保存的文件名有中文,修改下名称即可!4> 屏幕尺寸大家都可以查到,为了自己方便,简单备注下: 4.7英寸 -> iPhone6/s 5.5英寸—>iPhone 6/s Plus 4英寸 —>iPhone5S 3.5英寸 —> iPhone 4S
Setting App描述
and关键字
App description and keywords. png
1> 描述: 对App进行简要介绍,让用户快速了解App的基本功能2> 关键字: 用户可以通过这些关键字找到App3> 技术支持网址4> 营销网址
Set upApp 综合信息
App comprehensive information. png
1> 上传App Icon的时候,需要上传1024*1024的,而且不能有圆角效果和透明效果!2> 点击编辑,设置分级,需要根据app的实际情况来设置3> 版权,app的所有者和获利时间
APP Review Information
App audit information. png
注意: 审核信息,必须填写
Set 版本
Publishing options, this example chooses to publish manually
Version release options. png
Submit build, open Xcode, upload app Package
Upload the application package. png
Uploading. png
Wait a few minutes.
Upload succeeded. png
有两种方式:1> Xcode 6或更高版本2> Application Loader 3.0或更高版本提交构建版本
Go back to ITunes Connect webpage and choose Build version
Select a build that needs to be listed. png
Click提交以供审核
Final confirmation information. png
1> 出口合规信息: 如果使用了加密,选择『是』,否则选『否』2> 内容版权: 包含了第三方的东西,就选『是』,否则选『否』3> 广告标识符(IDFA): 这个一定要选对,选错了会导致二进制文件永久被拒,需要重新提交二进制文件。
Click提交
Pending approval. png
Here, the entire APP listing process is finished!
Wen/xdlee (author of Jane's book)
Original link: http://www.jianshu.com/p/0658935de8df
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".
App listing process (2016 latest)