iOS build failing with "No ./build found in root of project." except that we never told it to do that. How do I fix/change this?

Build log is here: ionic > ios build error · GitHub

As part of a text block labeled Lane Context, line 257 says:
| PROJECT_WEB_DIR | ./build

Immediately after that block, line 265 says:
[22:57:59]: No ./build found in root of project.

We didn’t set this variable. This build actually succeeded about a month ago, without a ./build dir, but now fails.

The project is Sveltekit based which uses Vite for build process.

How can I fix this? Is it a config change somewhere?