-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error The operation couldn’t be completed. found nothing to terminate
#3518
Comments
@Peter-Cumming - thanks to @mikehardy, this issue was resolved in #3551. We'll release a patch version later today 🙂 |
Version 19.9.2 was released with @mikehardy's fix. |
I'm still seeing this issue on 19.10.0 even though it looks like the error should match the changes to 19.9.2 Any tips or ideas here?
|
@jaredkotoff please make sure you have the correct Detox version in your node-modules ( |
What happened?
I am currently validating an app against XCode14 BETA against iPadOS16.
On executing the Detox test run:
detox test -l verbose --record-logs failing --configuration ios
The Detox connection is registered successfully,
applesimutils
identifies the device and starts the simulator successfully. The specified app is terminated and then uninstalled successfully but then Detox appears to be trying to terminate the app a 2nd time (note this is after the app has been successfully uninstalled).The result is an error below.
I can see there is a work around already in Detox repo here for a v.similar sounding issue. The error message is subtly different
found nothing to terminate
and therefore not handled. I'm not sure whether this is a new error message in the latest version of XCode or a new error but from the comments itModifying this to account for the new wording ensures that Detox runs as expected.
What was the expected behaviour?
Once the Detox connection has registered, applesimutils has identified the device and booted the simulator. The app should be terminated and then successfully uninstalled. Once confirmed the app should be installed and the tests run.
[EXEC_CMD, 0] - List simulator devices by Type
[EXEC_CMD, 1] - List simulator devices by ID
[EXEC_CMD, 2] - Terminate the app running on the device
[EXEC_CMD, 3] - Uninstall the app running on the device
[EXEC_CMD, 4] - Install the app on the device
[EXEC_CMD, 5] - Run the tests
Was it tested on latest Detox?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 19.7.1
React Native version: "0.67.4"
Node version: v16.4.2
Test-runner (select one): jest-circus
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: