Skip to content

Commit

Permalink
Merge pull request #92 from VKCOM/di/update-doc
Browse files Browse the repository at this point in the history
update doc
  • Loading branch information
irdkwmnsb authored Jan 24, 2025
2 parents 2f99f12 + 7ba682b commit 2704754
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ The easiest way to run the provider is to do

Note: some features require direct access to the provider instance from the browser, so if you are running the provider on a different machine - make sure you pass accessible url to the --public-ip.

For iOS support:
1) You need to set up macOS node (for example we use Mac Mini on Intel Processor)
2) Then clone and build this repo
3) Also, you need to install pymobiledevice3
4) Now see [iOS doc](./doc/ios-device.md)
If you also want to add an iOS device see [this document](./doc/ios-device.md)

## Features

Expand Down
11 changes: 6 additions & 5 deletions doc/ios-device.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# iOS device launch via run-wda.sh
# Adding an iOS device to DeviceHub

This script is designed to set up and run WebDriverAgent on an iOS device using `idb` and `pymobiledevice3`. It also sets up port forwarding for interacting with the device via `stf`.
See [lib/cli/ios-device/run-wda.sh](../lib/cli/ios-device/run-wda.sh)
This script is designed to set up and run WebDriverAgent on an iOS device using `idb` and `pymobiledevice3`. It also sets up port forwarding that is needed for the ios-provider.

## Requirements

- Installed `git`
- Installed `idb`
- Installed `pymobiledevice3`
- Installed `pymobiledevice3` (use our fork [https://github.com/irdkwmnsb/pymobiledevice3](https://github.com/irdkwmnsb/pymobiledevice3))
- Installed `xcodebuild`
- Installed `stf`
- Installed the `stf` command from this repository (clone this repository and do `npm ci` followed by `npm link`)
- Access to MongoDB which used by stf
Note: You need to create you own provisioning profile in XCode
Note: You need to create you own provisioning profile in XCode for the [WebDriverAgent project](../WebDriverAgent)
## Usage

```bash
Expand Down

0 comments on commit 2704754

Please sign in to comment.