首先进到你项目的根目录,运行官方的打包命令
flutter build ios
这就完了吗?打出来至少400兆怎么装!~
运行下面命令:
xcrun bitcode_strip build/ios/iphoneos/Runner.app/Frameworks/Flutter.framework/Flutter -r -o build/ios/iphoneos/Runner.app/Frameworks/Flutter.framework/Flutter
mkdir Payload
mv build/ios/iphoneos/Runner.app Payload
zip -r symbol.ipa Payload
echo "ipa包文件地址:$PWD/symbol.ipa"
前面几行不知道的可以来这看看
网友评论