It turned out that the Pipe we were using to capture any STDOUT_FILENO output was also capturing xcodebuild output. This caused our Fastlane setup to fail. We had to forward the output to an outpipe to make sure original logs show up again.
This is to make sure that the logs are showing up in the Xcode console while debugging but as well for runs in the terminal when testing.
It turned out that the
Pipe
we were using to capture anySTDOUT_FILENO
output was also capturing xcodebuild output. This caused our Fastlane setup to fail. We had to forward the output to an outpipe to make sure original logs show up again.This is to make sure that the logs are showing up in the Xcode console while debugging but as well for runs in the terminal when testing.
More info in this blog post: https://medium.com/@thesaadismail/eavesdropping-on-swifts-print-statements-57f0215efb42