I'm trying to use firebase TestLab on iOS using this guide:
https://firebase.google.com/docs/test-lab/ios/firebase-console#build_xctests_for_your_app
but after I upload the zip file including the xctestrun file I'm getting the following error:
Upload invalid: the .xctestrun file didn't specify any test targets.
I have two targets in my app and a Tests target and a UI tests target, On both test target, I set the Target I want to test as the host application.
Any ideas?
In my case the following order of actions helped:
.xcworkspace
fileFile -> New -> Target
iOS Unit Testing Bundle
and press the button NextNow you need to make a new attempt to build for testing (Product -> Build For -> Testing)
and follow the Firebase instruction regarding creating an archive
This probably happened because you testing targets are not part of the scheme when building.
Take a look at the .xctestrun and see if it is an empty .plist file. If it's empty then add the testing targets when building.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With