From b84025afedd2db9f37df86bee61175f72f22b435 Mon Sep 17 00:00:00 2001 From: Eason <291028775@qq.com> Date: Wed, 28 Aug 2024 11:18:18 +0800 Subject: [PATCH] Update ios-deploy.md Signed-off-by: Eason <291028775@qq.com> --- src/en/deploy/ios-deploy.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/en/deploy/ios-deploy.md b/src/en/deploy/ios-deploy.md index 4a6c42d..fc0c5c0 100644 --- a/src/en/deploy/ios-deploy.md +++ b/src/en/deploy/ios-deploy.md @@ -43,7 +43,16 @@ brew install ideviceinstaller 2. In Agent's `config/application-sonic-agent.yml`, configure `wda-xcode-project-path` to the WebDriverAgent.xcodeproj path -After completion, confirm that WebDriverAgent can be built to the device for testing, and preparations are complete. +After completion, confirm that WebDriverAgent can be built to the device for testing: + +```shell + +# replace ${wda-xcode-project-path} to your xcodeproj path, replace ${device_udId} to your device udId + +xcodebuild -project ${wda-xcode-project-path} -scheme WebDriverAgentRunner -destination 'id=${device_udId}' test +``` + +Preparations are complete. ## Build WebDriverAgent into the device