iOS上架详细通关教程
2022-10-31 本文已影响0人
恋卿三世i
记录此文是源于以下需求
1.已有app store开发者账号 (公司账号$99),需上架至app store
2.有商城实体商品支付功能(会员等虚拟支付另说)
3.有硬件交互功能
注:建议预留一周上架时间,目前上架审核速度还是比较快提审一天以内就有回复
一、证书
上架版本需要使用正式的证书
1. 创建证书 https://help.apple.com/developer-account/#/devbfa00fef7
2.上传证书 https://developer.apple.com/account/
进入开发者中心 Certificates, Identifiers & Profiles
点击Certificates 旁边的+ 新增证书

选择最新的分发版证书 Apple Distrbution,右上角continue

按要求填写后提交。
一般都要创建两个证书一个用于开发,一个用于上架,如果有支付内容,还必需要Apple Pay的证书

3.创建profile
左侧菜单选profile点+号创建,选择App Store,创建好后获得一个TYPE为App Store的Profiles, 可用于打包上架应用

3. 打包
版本配置,双击左侧菜单项目打开xcodeproj,编辑Version或build第一次可以随意,但是提交版本成功后,这两个必须有一个值是新的,以作区分,否则提交上传就一定会被拒收

配置签名,选择 Signing&Capabilities

然后是常规操作,设备选Any Ios Device,Archive后就是漫长的等待
一般为避免打包空间不够,可以先clean 一下

打包完成后,点击Distribute App 上传到App Store Connect,稍后appid邮箱会收到结果通知