-
Notifications
You must be signed in to change notification settings - Fork 369
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
Cannot connect to DeviceAgent service #1406
Comments
Hey, does Calabash run against Simulator on your machine? |
@JoeSSS Yes it does. |
nice. then your ENV is fine :) I wonder if it is because of older iOS
version. Do you have a phone with iOS 12.1 maybe?
Am Fr., 22. Feb. 2019 um 08:29 Uhr schrieb Tjmoronez <
notifications@github.com>:
… @JoeSSS <https://github.com/JoeSSS> Yes it does.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1406 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARTqPKg6aLfb2Ijgf51Mw8eK-KcVoCYfks5vP5xbgaJpZM4bImrp>
.
|
@JoeSSS I get the same error on a ios phone with 12.1 as well. I should have included this in original post, I see run-loop install the DeviceAgent app on my phone, but then I see no indication that my app or DeviceAgent opens. I just run into the time out on: |
Just to make sure.. your devices are in the same network, app is installed and all the prerequisites from https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices#2-configuring-your-device are met? |
Yes, all those prerequisites are met. Additional info, after looking into
When start_test_server_in_background runs
|
I am also seeing a code signing error when I dive deeper into logs:
|
From different logs I see different Ruby versions that are used. I think officially the tool supports Ruby 2.3.1. Can you try to change to this one? |
Same results for ruby 2.3.1, logs stating: code signature invalid for DeviceAgent, I should be able to code sign this with my apple dev cert correct? |
Sadly, 2.3.x is the supported version. Calabash is not ready for 2.4 or 2.5
Is that directory and the directories under it writeable without sudo? run-loop needs to expand the DeviceAgent-Runner.app.zip. The code signing problem needs to be addressed. Try using iOSDeviceManager to resign or install the DeviceAgent-Runner.app. |
This is my first time running UI tests with calabash and I am running into an issue with the DeviceAgent.
iOS - 11.4.1
Xcode - 10.1
MacOS - Mojave
calabash-cucumber- 0.21.8
running
start_test_server_in_background
in calabash-ios console is giving me the errorCould not connect to the DeviceAgent service.
The logs files don't display anything that looks useful:
Any help would be appreciated, thank you
The text was updated successfully, but these errors were encountered: