Could not reuse existing WDA on real iPhone device.
See original GitHub issueThe problem
Problem is that Appium could not reuse existing WDA on real iPhone device - every next test script run there would be unsuccessful try to get response, deleting existing WDA and installing new WDA.
There are some interesting things:
-
For http://localhost:8100/status request THERE IS response 200! But later “Failed to create WDA session”
-
Strange line
[XCUITest] at quitAndUninstall (/Users/admin/appium/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:476:13)
Seems like buggy log output.
Environment
- Appium server v1.11.1
- Node.js v10.15.1
- Npm 6.8.0
- Mobile platform/version under test: iOS 12.1
- Real device: iPhone X
Link to Appium logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
How to reuse the existing wda agent - Support - Appium Discuss
Hi, I run many test cases with appium on real iphone devices, every time i start a new test case, the appium will...
Read more >How to fix WebDriverAgent(WDA) run failure on Hybrid ...
Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. Solution Manually check whether the ...
Read more >[Appium]Re-use existing WDA in create session command
I would like to show a “cache” feature for WDA in Appium. After this PR , the function will work correctly. The PR...
Read more >Xcode testing process is getting f… | Apple Developer Forums
We have an automation suite which needs should be triggered in IOS and while in execution, the xcode testing is getting failed abruptly...
Read more >atom-appium-xcuitest-driver - npm package - Snyk
Defaults to 10000ms. e.g., 20000. wdaLocalPort, This value if specified, will be used to forward traffic from Mac host to real ios devices...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems I got it.
If you sign app with iOS Developer certificate and trying to run it on device manually without connection to
Xcode
or command linexcodebuild
- app simple would not run! Apple security reasons…To be able run app on real device without
Xcode
/xcodebuild
session, you should sign it with iOS Distribution certificate. And create Ad Hoc provisioning profile with that certificate. And before it you should link device to your Apple account and include this device to provisioning profile.Or you just could use your Apple iOS Developer certificate but Appium would EVERY TIME for every new session run rebuild WDA.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.