Skip to content

Commit

Permalink
docs: compress image size for wda signing
Browse files Browse the repository at this point in the history
  • Loading branch information
sudharsan-selvaraj committed Aug 3, 2024
1 parent e9d3e50 commit fe01f9b
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion documentation/docs/ios-signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Enter a Project Name and a valid `Organization Identifier`. It can be any value,

Once the project is created, click on the `Project Name` in the left pane and select the `Signing & Capabilities` tab. You should see `Xcode Managed Profile` listed under Provisioning Profile.

![Ios resign](https://raw.githubusercontent.com/AppiumTestDistribution/appium-device-farm/main/documentation/docs/assets/images/wda-signing/step10-ios-resign-1.png)
![xcode signing](https://raw.githubusercontent.com/AppiumTestDistribution/appium-device-farm/main/documentation/docs/assets/images/wda-signing/step9-post-project-creation.png)

You can also check if the provisioning profile is created in the `~/Library/MobileDevice/Provisioning Profiles directory`. Once the provisioning profile is present, you have successfully created it and can now use it to sign the WDA file.

Expand Down
47 changes: 32 additions & 15 deletions documentation/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,39 @@ hide:
- navigation
---

### IOS
## Device Farm

### Facing errors related to prisma installation?

1. run `appium plugin run device-farm setup`
2. Check if the script executes without any error
3. Incase of any error, open a new issue with the complete log from the script execution

### How to delete all session details and videos?

1. run `appium plugin run device-farm reset`
2. The above command will delete all the existing data from database and resets the device farm to the original state

## IOS

1. How do I improve the iOS session startup for real device?
- Resign the WDA provided here: [WDA]()
- Use the following capabilities:

```json
{
"appium:usePreinstalledWDA": true,
"appium:updatedWDABundleId": wdaBundleID,
"appium:updatedWDABundleIdSuffix": "",
}
```

- Make sure the iPhone real device is unblocked and enabled developer mode.

- Resign the WDA provided here: [How to resign webdriver agent](/ios-signing)
- Use the following capabilities:

```json
{
"appium:usePreinstalledWDA": true,
"appium:updatedWDABundleId": wdaBundleID,
"appium:updatedWDABundleIdSuffix": "",
}
```

- Make sure the iPhone real device is unblocked and enabled developer mode.

2. How do I improve the iOS session startup for Simulators?
- Provide server argument during the appium server start. `preBuildWDAPath` with the path to the WDA build for Simulators.
### Notes
- Provide server argument during the appium server start. `preBuildWDAPath` with the path to the WDA build for Simulators.

## Notes

1. If there is no activity on a session for more then 100 seconds, device allocated to respective session would be unblocked and made available for new session requests.

0 comments on commit fe01f9b

Please sign in to comment.