2017年10月-iOS打包上架最新图文教程,手把手教你发布iOS应用到市场。
准备工作
1.准备好icon.psd和splash.psd后,请按照上一讲生成图标资源;
2.苹果开发者账号:https://developer.apple.com/account/;
后面有彩蛋
1.新建APP ID

填写好应用描述和应用ID后,点击页面最下方
Continue
按钮即可。
2.请求开发者证书
找到mac电脑到钥匙串,按照以下步骤请求证书,记得存储到磁盘。
注意:取个名字放到桌面,等会要传到苹果开发者中心的。


3.创建生产环境证书
找到左侧到Certificates > Production > > 按照以下标注顺序操作即可。







Download后,直接打开,会自动加入电脑到证书列表中。
4.配置描述文件




Continue之后直接Download,然后导入到Xcode工程中,就可以使用了。

5.打包发布。
将设备改为Generic iOS Device,选择Product > Archive ;




终于看到Uploading to App Store了,怎摸样,有木有很激动???!!!


。。。
不要慌,到这里就离成功不远了,登陆到
iTunes Connect
新建一个APP。

然后按照刚才到步骤再试试,接下来可能还会出现另一个警告。

嗯,不要慌不要慌,按照提示,提供一个1024x1024px的Icon即可。
回到Xcode项目中点开Resources/Images.xcassets,打开AppIcon,将滚动条拖到最后,找到1024*1024到Icon。

最后再次按照以上步骤,重新Archive > Upload,怎么样,是不是烦了?不管你有没有烦,反正我是烦了!

总结:遇到问题莫要慌,不要急躁,不要去百度,先看错误提示,按照提示一般能解决。
有任何问题欢迎在下方留言讨论!
好了,完!
彩蛋:最新的ionic环境(3)和最新的xcode环境(9)打包iOS时build时会报一个错误,博主找了很多资料,最终在一个国外网站找到解决方案,在add ios时加上@4.4.0即可,这是个大坑,很多朋友都跳进去了
