Reputation: 61
Please find config i am using as below
Xcode : 11 GM Seed Appium : 1.14.2 Real Device : iPhone 7 (12.4.1)
I have updated my Xcode to 11 Because of the xcode 10.3 doesn’t support iOS 12.4.1.
After upgrading it started giving an error
Original error: -[XCUIElement resolve]: unrecognized selector sent to instance
App is getting launched but nothing happens after that and i can see above error in my appium console.
Upvotes: 5
Views: 3155
Reputation: 51
It works in my macbook pro.
Env: - Xcode 11.1 - iOS 13
How: - Update appium from 1.15.0 to 1.15. - Remove WebDriverAgent app and test app
Appium commiter said if we update appium, the best way is clean env by removing WebDriverAgent etc.
See also: https://github.com/appium/appium/issues/13274
Upvotes: 0
Reputation: 11
I try and it works on IOS simulator and real devices
Install appium Appium v1.15.0-rc.5 via nmp
Xcode 11.
IOS 13
========
install webdriveragent via path *node_modules/appium/node_modules/appium-webdriveragent* ==> appium had been update
ref https://github.com/appium/appium/issues/13288#issuecomment-535574619
Upvotes: 1
Reputation: 1
Had this issue as well after updating to xcode 11, all my tests were failing with this error on simulator with OS 13 and lower, the fix eventually was to upgrade to appium 1.15. Use the npm install -g [email protected] command. No other maintenance or workarounds needed
Upvotes: 0
Reputation: 35
I have faced the same issue here. ios:13.1. I have tried on the 12.4.1 iphone but got the same issue xcode: 10.3
please share the solution
Upvotes: 1
Reputation: 2272
It seems you don't need to downgrade Xcode if using Appium 1.15.0:
$ npm install -g [email protected]
My device's iOS is 12.4.1, I have both 11 and 10.3 Xcode's.
When I used Appium Desktop 1.13.0, I launched WDA by opening it's Xcode project ( in Xcode 10.3 ) and started testing WRA-Runner target ( CMD + U ). Then I ran
$ python -m unittest my_ui_test.py
Now with Appium 1.15.0 I just run:
$ appium
and then
$ python -m unittest my_ui_test.py
from another terminal tab.
Hope this helps.
Upvotes: 1
Reputation: 753
Have you reinstalled your WebDriverAgent? Provide your code that sends commands to the WDA, probably you are using wrong type of selectors.
Upvotes: 0