Xcode iOS tests succeed but job fails: `Clang frontend command failed with exit code 70 (use -v to see invocation)`

Our CI iOS test jobs sometimes fail with the message in the title.