wix / Detox

Gray box end-to-end testing and automation framework for mobile apps

Home Page:https://wix.github.io/Detox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[iOS]App crashs immediately after launching

Zhangronger opened this issue · comments

What happened?

  1. Followed the environment and project setup step by step based on my project.
  2. run case by execute: detox test -c ios.sim.debug --record-logs all
    but got error info below:
    Detox can't seem to connect to the test app(s)!
    HINT:
    The test app might have crashed prematurely, or has had trouble setting up the connection.

What was the expected behaviour?

the APP not crash right after launch and run the case accordingly

Was it tested on latest Detox?

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

Did your test throw out a timeout?

Help us reproduce this issue!

I tested based on my project.

In what environment did this happen?

Detox version: 20.22.2
React Native version: v0.63.3
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: 18.12.0 and 20.10.2 both encountered error
Device model: iPhone 14
iOS version: iOS 16.4
macOS version: 14.3.1
Xcode version: 15.2
Test-runner (select one): jest / other jest

Detox logs

Detox logs [detox_output.log](https://github.com/wix/Detox/files/15430304/detox_output.log)
paste logs here!

Device logs

De [detox.log](https://github.com/wix/Detox/files/15430308/detox.log) vice logs ``` paste your device.log here! ```

More data, please!

No response

This issue just popped up in our repo as well last week. No code was changed from one day to the other and all of a sudden iOS started failing