1、下载flutter安装包
https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#macos
2、配置mac环境
https://flutterchina.club/setup-macos/
3、修改环境变量设置
https://blog.csdn.net/qq_15111861/article/details/80750240
4、在命令端执行 flutter doctor,根据缺少的提示进行安装
5、如果git下载速度太慢,可以修改hosts地址
https://www.jianshu.com/p/a9e1fd5dff68
6、通过appstore 创建应用
https://itunesconnect.apple.com/
7、配置推送服务
https://www.jianshu.com/p/adfce0921c09
8、使用fluwx插件授权微信要配置URL Schemes
identifier填写 “weixin” ;URL Schemes 填写微信移动应用对应的appid,可参考以下配置位置
https://blog.csdn.net/zzl819954692/article/details/84561614
同时还要再Info.plist 加入以下内容
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>wechat</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
9、打包上架到appstore:打开xcode9或者更高版本,找到导航栏Product,下拉选择archive,然后根据以下图示进行操作
https://blog.csdn.net/lfl18326162160/article/details/84666734
10、如果只是上传iphone应用,点击主项目Runner-TARGETS-General-Deployment Info-Devices,然后选择iPhone