Unable to launch preinstalled WebDriverAgent on real iOS device (free Apple account) #1927
Replies: 5 comments
-
|
CC @saikrishna321 could you please take a look when you get a chance? You had helped me earlier with a port restriction implementation, and I’d really appreciate your guidance on this one as well. |
Beta Was this translation helpful? Give feedback.
-
|
Just to update I have already tried appium plugin run device-farm prepare-wda too. |
Beta Was this translation helpful? Give feedback.
-
|
@chetansutar008 ARe you able to got this working? |
Beta Was this translation helpful? Give feedback.
-
Same issue was faced, during standalone app (wda-resign.ipa) execution. thru device-farm config json file for loading wda-resign.ipa loading iphone mirror screening in device-farm browser page. [7b8a4bbd][DevCon Factory] Successfully requested the connection for 00008140-001C02E114DB801C:61467 [7b8a4bbd][AppiumDriver@6a53] Event 'newSessionStarted' logged at 1767810245345 (13:24:05 GMT-0500 (Eastern Standard Time)) Please help, need some input to fix and improve generating wda-resign.ipa method |
Beta Was this translation helpful? Give feedback.
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Summary
I’m using a free Apple Developer account and built a custom WebDriverAgentRunner.ipa for real-device testing with Appium Device Farm.
Although the
.ipainstalls successfully on the iPhone and appears as verified, Appium fails to launch WDA when trying to start a session.Steps to Reproduce
Built
WebDriverAgentRunner-Runner.appusing Xcode for my real device (with my Apple ID).Zipped it manually into a
Payload/folder to create an.ipa.Re-signed the IPA using the ipa-resign utility shared on the Appium Device Farm GitHub page (using my Apple free account provisioning profile).
Installed the IPA on the real iPhone — it installs and shows as verified under Settings → General → VPN & Device Management.
Configured Appium Device Farm to use the preinstalled WDA by passing the bundle ID capability:
--plugin-device-farm-wda-bundle-id=com.chetans.WebDriverAgentRunnerStarted a new session in Appium Device Farm.
Observed Behavior
Appium fails to launch WDA and throws the following error after 60 seconds:
Full stack trace:
Expected Behavior
http://<device_ip>:8100when triggered by Appium.Environment
.ipafrom valid Xcode.app, re-signed usingipa-resignAdditional Notes
.ipainstalls and verifies successfully on the device.com.chetans.WebDriverAgentRunner..xctestfolder exists inside the.appbundle (PlugIns/WebDriverAgentRunner.xctest).Would appreciate community input or confirmation if the WDA launch limitation is expected under free Apple Developer accounts, or if additional signing/entitlement adjustments are needed for Appium Device Farm to start the
.xctrunnerbundle successfully.Beta Was this translation helpful? Give feedback.
All reactions