-
Notifications
You must be signed in to change notification settings - Fork 154
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
Could not launch "RunnerUITests" (OSStatus error -10661.) #2003
Comments
It seems as if it tries running my tests not on the iOS Simulator, but on my MacBook. |
I tried running it today and magically, it (
It no longer finds "all the devices" and starts running on macOS beacuse it's "the first of multiple matching destinations". The questions remains why it duplicates these iPhone 15 simulator lines in output, but at least it works. |
I was not able to reproduce this issue. I found a discussion about this. Seems like some random issue with XCode 15. |
Good find @piotruela. I also found a nice post by Bitrise (linked to from the Discussion you found): I also saw much higher CPU usage when running tests on Xcode 15. |
EDIT It doesn't help. |
@bartekpacia were you able to resolve this? |
Nope. |
How can i run test with this error? |
I was able to resolve this by updating to the latest code xcode 15.2 and running the tests on 17.2 iOS. |
This issue is probably caused by some changes in Xcode 15 - I got the same error and we noticed that patrol chooses wrong version of simulator sdk to build the tests. In my case, it always chooses 17.5, but tries to run on iOS 16.4 (that's the version I wanted to run). WORKAROUND:
Now the build is correct, but you can experience another issue - no matching destinations found. Somehow xcodebuild command assumes, that if we don't specify OS version in |
@jBorkowska can you share the example of "...local version of patrol_cli, so use dart run /path/to/patrol/packages/patrol_cli/bin/main.dart develop and usual arguments you use" full command? UPD: Discord |
@ivan-horchakov I used |
Is it fixed in xcode 16? UPD: xcode 16 - still reproducing |
I've managed to fix this.
|
I have also this problem sometimes, especially after connect external disk to macOS and move repo there (maybe not related). But I deleted all iOS versions from xcode and then install just iOS 17.5 it's working for now. |
I am unable to run tests on latest
master
branch (9f5cb3d). I'm getting very weird errors that I am unable to resolve.I run:
patrol test -t integration_test/main_test.dart -v
inpackages/patrol/example
patrol test -t integration_test/example_test.dart -v
indev/e2e_app
I tried:
rm -rf ~/Library/Developer/Xcode/DerivedData/*
build
directoryLogs
patrol doctor
flutter doctor
Xcode
The text was updated successfully, but these errors were encountered: