Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Misleading configuration in package.json for Demo Native iOSΒ #4903

@yasenltd

Description

@yasenltd

Did you test using the latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test fail and you're not sure why?

  • I have read the troubleshooting guide and it didn't help me.

What happened?

Example configuration seems to be misleading in:

  "configurations": {
      "ios.sim.debug": {
        "device": "simulator",
        "app": "ios.release"
      },
      "ios.sim.release": {
        "device": "simulator",
        "app": "ios.debug"
      }
    }

When running commands like:

yarn detox build --configuration ios.sim.debug
npx detox build --configuration ios.sim.debug

I am getting Release-iphonesimulator build and vice versa.

What was the expected behaviour?

I expect to get Debug build when using ios.sim.debug and Release build when using ios.sim.release

Help us reproduce this issue!

Run the commands described and the issue will be easily reproduced

In what environment did this happen?

Detox version: latest
Node version: 20.19.4

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions