File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,11 +50,14 @@ jobs:
5050 - name : " Optimize simulator with simslim"
5151 run : |
5252 brew install mobai-app/tap/simslim
53- # Apply simslim optimization to all available simulators
54- simslim list --json | jq -r '.[].udid' | while read -r udid; do
55- echo "Optimizing simulator: $udid"
56- simslim on "$udid" || true
57- done
53+ # Only optimize the iPhone 17 used for testing (saves ~3-4 min vs optimizing all simulators)
54+ UDID=$(simslim list --json | jq -r '.[] | select(.name == "iPhone 17") | .udid' | head -1)
55+ if [ -n "$UDID" ]; then
56+ echo "Optimizing iPhone 17 ($UDID)..."
57+ simslim on "$UDID"
58+ else
59+ echo "::warning::iPhone 17 not found, skipping simslim optimization"
60+ fi
5861
5962 # Build iOS app (only if not cached)
6063 - name : Build iOS app for simulator
You can’t perform that action at this time.
0 commit comments