this was the OP.
This is a red herring.
XCode workflow on the Mac doesn’t involve shells. Why should it on iPad?