The application to test, in case of XCUITest should be an IPA file and in case of Espresso should be an APK file.