Run Detox tests on ios physical device?

4k views Asked by At

I am currently working on a react native project using Detox for e2e tests. I can run tests on my android device changing detox configuration

"android-device": {
      binaryPath: "android/app/build/outputs/apk/release/app-release.apk",
      build: "cd android && ./gradlew app:assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
      type: "android.attached",
      device: {
        avdName: "RF8M80C2LHR",
      },
    },

I want to do the same thing with my iPhone device but doesn't work the same way that works with android. Any recommendation on how to achieve this?

1

There are 1 answers

5
Léo Natan On

Not supported. There is a pretty long issue, explaining why.

https://github.com/wix/Detox/issues/95