I have a unit test that is failing only in Bitrise. It works if I use xcodebuild or if I run directly from Xcode.
I placed a bunch of logs and it seems that UIApplication.shared.applicationState == .active is false when running in bitrise causing the test to fail.
What could be the cause of this?