From 5482ac590dcfb8f01ec71e638eb94756aa9ca9af Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Mon, 10 Aug 2026 22:52:33 +0200 Subject: [PATCH] fix(ios): guard missing game payload --- scripts/build_ios.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/build_ios.sh b/scripts/build_ios.sh index 4c843429..3a87dce9 100755 --- a/scripts/build_ios.sh +++ b/scripts/build_ios.sh @@ -598,6 +598,13 @@ verify_documents_configuration() { say "public Documents exposure present (file sharing + in-place access)" } +verify_game_payload() { + local app="$1" + [ -s "$app/game.love" ] \ + || fail "built iOS app is missing game.love: $app" + say "game.love present ($(du -h "$app/game.love" | cut -f1))" +} + run_xcodebuild() { local config sdk destination if $RELEASE; then @@ -727,6 +734,7 @@ run_xcodebuild() { cp "$LOVE_FILE" "$app/game.love" fi + verify_game_payload "$app" verify_native_bridge "$app" local dist_dir="$DIST/${config}-${sdk}"