1. Xcode配置好环境和版本号
2. Terminal输入混淆打包命令
flutter build ipa --obfuscate --split-debug-info=./symbols |
生成包路径:项目名/build/ios/archive/Runner. xcarchive
3. 将上述文件复制到Xcode下
~/Library/Developer/Xcode/Archives |
4. 打开Xcode-Window-Organizer
将刚才的包发布到App Store