Running patrol test on real iPhone device gives me a connection error. Anybody know why? #2686
SamirKharchi
started this conversation in
General
Replies: 1 comment
-
Btw. the patrol page says here: https://patrol.leancode.co/documentation/physical-ios-devices-setup that the bundle identifier should end with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have already searched extensively for a solution or the cause for my issue but I cannot find anything that helps.
I have a flutter app with a real iPhone 14 device (iOS 18.5) and I am running the following command:
patrol test integration_test/patrol -d 00008120-001E3C2E2E60C01E --release --flavor=development --verbose
I can start the tests just fine on a simulator. I can run the app just fine on the physical device. But running the patrol tests on the physical device doesn't work.
Here is what happens
My app is built, the tests start, the splash screen pops up, then right after the splash screen (I don't even see the home page of my app), the app shuts down, the test is shown as failed. Looking into the logs it shows this:
I didn't wanna add this as a real GitHub issue as I am not sure if it's a patrol issue per se.
So, I see a lot of connection errors logs. However, I am not sure I understand why these appear. The device is in development mode, with UI Automation activated. It's correctly paired and identified in/by Xcode. The build looks fine too.
So I am puzzled as what it can be. Does anybody have an idea what the issue is or how I can fix this? This is so annoying.
Thanks a ton iA
Beta Was this translation helpful? Give feedback.
All reactions