diff --git a/codemagic.yaml b/codemagic.yaml index 233b5e0..3bc51fe 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -62,7 +62,15 @@ workflows: CAPSPM=$(find ios -path "*CapApp-SPM*Package.swift" 2>/dev/null | head -1) if [ -n "$CAPSPM" ]; then echo "found: $CAPSPM"; cat "$CAPSPM"; else echo " CapApp-SPM/Package.swift NOT FOUND"; find ios -name Package.swift 2>/dev/null; fi # App icon + splash from resources/icon.png & resources/splash*.png (1024x1024 icon, 2732² splash). - npx capacitor-assets generate --ios || echo "asset generation skipped" + npx capacitor-assets generate --ios || echo "capacitor-assets returned non-zero (see above)" + # HARD-VERIFY the splash + icon actually landed in the iOS project. Previously this step swallowed + # failures with `|| echo skipped`, so a broken generation shipped Capacitor's BLANK default splash + # (looked unbranded on launch). Fail the build loudly instead of shipping an empty splash. + SPLASH_PNG=$(find ios -path "*Assets.xcassets/Splash.imageset*" -name "*.png" 2>/dev/null | head -1) + ICON_PNG=$(find ios -path "*Assets.xcassets/AppIcon.appiconset*" -name "*.png" 2>/dev/null | head -1) + if [ -z "$SPLASH_PNG" ]; then echo "ERROR: iOS Splash.imageset not generated — the app would launch with a blank splash"; exit 1; fi + echo "iOS splash asset OK -> $SPLASH_PNG" + echo "iOS app icon asset -> ${ICON_PNG:-MISSING}" - name: Patch Info.plist (App-Review privacy strings) + bundle id script: | diff --git a/mobile/resources/splash-dark.png b/mobile/resources/splash-dark.png index f91c6e5..e8f01b0 100644 Binary files a/mobile/resources/splash-dark.png and b/mobile/resources/splash-dark.png differ diff --git a/mobile/resources/splash.png b/mobile/resources/splash.png index 6c8185b..e8f01b0 100644 Binary files a/mobile/resources/splash.png and b/mobile/resources/splash.png differ