Our automated tester has a suite of ui tests he's been working on. When these are enabled on our release pipeline they are:
- Very slow
- While all tests pass, when building the app afterwards the build hangs indefinitely
When disabling the tests the build is successful. The build machine is a 2020 M1 with 16GB ram running Xcode 13.1, I remoted in while it was running and the CPU usage / Ram seemed fine.
The CI log / Fastlane gives no error indication, it just freezes trying to link a library and I have to manually cancel the build
I'm wondering if the tests have exhausted something within Xcode build itself so it gives up at a certain point, is there anything obvious I can check?
Thanks