Skip to content
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 connect to simulator - Make sure both host and port are correct and reachable (IDB) #18

Open
johnlim-tech opened this issue Oct 10, 2019 · 9 comments

Comments

@johnlim-tech
Copy link

johnlim-tech commented Oct 10, 2019

I install Appium 1.15 and install appium IDB. However, it ended up with the error as the above subject title.

The original report is filed in
https://github.com/appium/appium-desktop/issues/1123

Launching the simulator will have an error in appium
Make sure both host and port are correct and reachable. The workaround is to uninstall IDB.

This is working when I have xcode 10 and older appium 1.41. The setup is correct as Appium-doctor indicate it is configurate correctly.

This is my desired capabilities (in form of json)
"deviceName": "iPhone 11",
"platformName": "IOS",
"automationName": "XCuiTest",
"app": /Users//johnlim//Fintool//API//app//FintoolTracker-1.app",
"platformVersion" : "13.1"

Environment

Appium CLI
Mac OS 10.15 Catalina
Appium 15.0 CLI

Below is the full appium log :

https://gist.github.com/johnlim-tech/3dd93915d9be3c3df22b0fdcdaf62a9b

@imurchie
Copy link
Contributor

The flow we are trying involves running the idb kill command, which seems to crash the process. I'm working on trying to figure out a configuration that works.

@coonyien
Copy link

Same issue here with Appium 1.15.1

@tamastimar
Copy link

Uninstalling idb which was installed before appium solved me the problem either.

@nebehslav
Copy link

Got the same problem. When I start manually idb_companion I got:

dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.20.dylib
Referenced from: /usr/local/bin/idb_companion
Reason: image not found

I have libprotobuf.21.dylib but not libprotobuf.20.dylib

@klingham
Copy link

Is there any fix currently for this? Thanks!

@renfeng
Copy link

renfeng commented Nov 21, 2019

Is there any fix currently for this? Thanks!

johnlim posted a workaround in the original post:

The workaround is to uninstall IDB

@imurchie
Copy link
Contributor

To actually use idb, I am working on a fix. The build is messed up right now, but it should be out soon.

@toptal-pgagnidze
Copy link

@imurchie any updates on this?

@Vicropht
Copy link

I uninstalled idb (since I was not using it) and it's fine now, so the workaround works. Standing by for the issue to be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants