# puzzleweave ## 生成 app icon ``` flutter pub run flutter_launcher_icons ``` ## 生成 splash 图 ``` dart run flutter_native_splash:create --path=flutter_native_splash.yaml ``` ## Shader 预热 ``` flutter run --profile --cache-sksl --purge-persistent-cache > `M` ``` 然后 build 应用 ``` flutter build apk --split-per-abi --bundle-sksl-path flutter_01.sksl.json ``` ios build ``` flutter build ios --bundle-sksl-path flutter_01.sksl.json ``` ios build for pgyer ``` flutter build ipa --export-method ad-hoc --bundle-sksl-path flutter_01.sksl.json ``` ## 正式打包编译: ``` flutter build appbundle --release --no-enable-impeller ``` ## 国际化 flutter gen-l10n ## 分析包大小 ``` flutter build apk --release --analyze-size --target-platform android-arm64 ``` ``` flutter build appbundle --release --analyze-size --target-platform android-arm64 ```