前言:
最近在学习flutter 开发,所以涉及到iOS的打包的 所以学习了一下 记录一下,希望对大家有用
准备工作
需要iOS开发者的证书 类似安卓的keystore 但是iOS这个需要开发者账号来创建 也就是要花钱 哈哈哈
![image.png](https://i-blog.csdnimg.cn/blog_migrate/fec7f70550af009daa05961315b7652a.png)
我们点开描述文件
![image.png](https://i-blog.csdnimg.cn/blog_migrate/d13373614efe15fbcc5287f3d7631359.png)
然后我们在 Bundle id 这里需要改成证书的Bundle ID 然后我们选择 dev 的证书
打包
点击 product 选择 Archive
![image.png](https://i-blog.csdnimg.cn/blog_migrate/35885ac46a5eb32028d320384ce7b9a3.png)
然后选择 Distribute App
![image.png](https://i-blog.csdnimg.cn/blog_migrate/76975d37037c6063f391e618064598d5.png)
然后选择Development 然后next
![image.png](https://i-blog.csdnimg.cn/blog_migrate/24e2476b4118cd25c47b36153948bd08.png)
然后next 继续