fix(mobile): testflight.sh puts the tty7 icon back after ios init (#1038)

`tauri ios init` fills the asset catalog with Tauri's placeholder icon,
so a regenerated gen/ shipped build 0.1.0.9 with the wrong icon. Copy
src-tauri/icons/ios over it on every run.

Claude-Session: https://claude.ai/code/session_01HVosmYyVSH3BrsLYx3tcSS
This commit is contained in:
l0ng-ai
2026-09-30 15:28:16 +08:00
committed by GitHub
parent ab029f5ea1
commit ed87bd39b6
+4
View File
@@ -38,6 +38,10 @@ mkdir -p "$OUT"
[ -f "$PROJECT" ] || npm run tauri ios init
# `tauri ios init` fills the asset catalog with Tauri's placeholder icon;
# put ours back so a regenerated gen/ never ships it.
cp src-tauri/icons/ios/*.png src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/
# Release signing off for the archive only; the project is put back however
# this exits.
cp "$PROJECT" "$OUT/project.pbxproj.orig"