adding ios device #195
-
|
I have followed the readme doc to add ios device to device farm. https://github.com/VKCOM/devicehub/blob/master/doc/ios-docs/ios-device.md This is running webdriver agent on connected device, but how can I see this device on device farm? Is it possible to get step by step instruction on adding iOS device to device farm? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi! stf ios-provider \
--connect-sub tcp://127.0.0.1:7250 \
--connect-push tcp://127.0.0.1:7270 \
--connect-app-dealer tcp://127.0.0.1:7160 \
--connect-dev-dealer tcp://127.0.0.1:7260 \
--screen-ws-url-pattern 'ws://localhost:<%= publicPort %>' \
--public-ip localhost \
--provider localworker \
--storage-url http://localhost/See this chart for more info on how the units connect to each other. Make sure:
For non-local use, replace localhost with a browser-accessible IP. Also check the nginx config example: Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi!
To add an iOS device to Devicehub, make sure your ios-provider connects correctly to the triproxy services.
If you start them in docker the default ports will make up such a command (adjust it if needed):
stf ios-provider \ --connect-sub tcp://127.0.0.1:7250 \ --connect-push tcp://127.0.0.1:7270 \ --connect-app-dealer tcp://127.0.0.1:7160 \ --connect-dev-dealer tcp://127.0.0.1:7260 \ --screen-ws-url-pattern 'ws://localhost:<%= publicPort %>' \ --public-ip localhost \ --provider localworker \ --storage-url http://localhost/See this chart for more info on how the units connect to each other.
Make sure: