= better set it TRUE for VERY first time and all other tests FALSE
- I do not see in capabilities
xcodeOrgId
,xcodeSigningId
,udid
- how you complete prepare WDA for real device usage?
= better set it TRUE for VERY first time and all other tests FALSE
xcodeOrgId
, xcodeSigningId
, udid
I set additional capabilities:
addMobileDesiredCapabilities.setCapability(“xcodeOrgId”, “SWQA3DF4FQ”);
addMobileDesiredCapabilities.setCapability(“xcodeSigningId”, “iPhone Developer”);
And created a file ‘.xconfig’ and set content:
DEVELOPMENT_TEAM = SWQA3DF4FQ
CODE_SIGN_IDENTITY = iPhone Developer
Run the test and got the same error message in appium log, and WebDriverAgent didn’t install on iOS device, my app was installed without WebDriverAgent on device
I’m using iOS.yaml file where are set all device config:
serverPort: 8006
appiumProxyPort: 15000
appium:
On empty device:
You are between 1 and 2 now
Hi, the problem was resolved.
Thank you
hi, how the problem was resolved?
Sign out from xcode account -> uninstall appium -> install appium -> sign in xcode account
Hi Facing this issue for ios 16, xcode 14 build. tried above suggestions still facing the same and this is happening while trying to inspect on simulator
{
“platformName”: “iOS”,
“appium:platformVersion”: “16.0”,
“appium:automationName”: “XCUITest”,
“appium:bundleId”: “com.sap.epm.**”,
“appium:deviceName”: “iPhone 14 Pro Max”
}
Device cap
appium version 1.22.3
xcode version 14.0
appium inspector 2022.8.1
I had the same issue so tried the steps mentioned here
https://www.youtube.com/watch?v=4E_Dcu6Ifc0 and got an error ld: cannot link directly with dylib/framework so found a solution here
https://developer.apple.com/forums/thread/712039 and was suggested to get
latest verison of webdriver agent - https://github.com/appium/WebDriverAgent/releases and I was build for Webdriver agent from Xcode.
After that I was able to launch the app via Appium inspector , hope this helps.
macOS Monterey 12.6(21G115)
Xcode : 14.0.1 (14A400)
Simulator : iPhone 13 Pro with iOS 16.0
Thanks a lot for the suggestions, i tried but i am still facing the issue, i get error 65 even after following the latest version of webdriver agent, do i need it to be replacing the old webdriver agent within the appium content?
1/ Download WebDriverAgent latest version
2/ Go to:
3/ Remove appium-webdriveragent and replace it with the downloaded new one. It works for me!
Thank you very much @rakeshg and @Dtink by applying both of your suggestions i was able to make it work!
This worked for me. Thanks man
you are a legend
Thank you all. I struggled to find a solution. Thanks to the discussion here, the issue solved.
Hi I’m new to this. Could you please explain how this 3. step is exactly done?
I have this in folder appium-webdriveragent:
Configurations WebDriverAgentRunner
LICENSE WebDriverAgentRunner-Runner.app.zip
PrivateHeaders WebDriverAgentTests
README.md build
Scripts index.js
WebDriverAgent.xcodeproj lib
WebDriverAgentLib package.json
But downloaded only WebDriverAgentRunner-Runner.app
Many thanks
You could just use Appium 2:
https://www.headspin.io/blog/installing-appium-2-0-and-the-driver-and-plugins-cli
@Babu_Cervenkova
Here is the complete process to be followed
You will face this issue on MAC because WDA present inside Appium is not compatible with your XCode 14.2. When you install Appium, it is equipped with latest WDA at the time of released version for example appium 1.22.3 will come with WebdriverAgent 3.17.0 You can check WDA repo for compatible XCode [WDA link]. After 12.4 they have stopped mentioning XCode compatibility. Here are the steps to be followed to replace older WDA to latest WDA
I ran into the same problem with iOS 16.4. Here is how I solved it:
@Bisweswar_Swain , it worked out fine by following the steps you indicated.
Thanks for the help!
Note: For those who are having the same problem I recommend following these steps to resolve the error.
Just follow the steps in the video for the latest updates on configuring real ios device configuration with appium: it describes both free account and paid apple account configuration
Swapan is the king. He explained every step, and I was finally able to get WDA compiled and installed on my USB-connected iPhone and iPad.