XCODE 8.3 : [XCTestDriver managerProxy]: unrecognized selector sent to instance 0x600000051a90

Appium fails with the below error.

[XCTestDriver managerProxy]: unrecognized selector sent to instance 0x600000051a90

Main reason :

XCUIElementTypeKeyboard is found however, the tests are unable to type text into XCUIElementTypeTextField with “setValue()” or “sendKeys()”.
Test is finding the text field, reading it’s default value, and able to click into the text field.

Environment
*Xcode version: 8.3

  • Appium version (or git revision) that exhibits the issue: 1.6.4 beta 2
  • Desktop OS/version used to run Appium: Mac OS Sierra
  • Mobile platform/version under test: iOS 10.1, 10.2, 10.3 (Fails for all version)
  • Real device or emulator/simulator: simulator

may be its related to latest update of Xcode.

Can anyone please update if they have ran this kind of issue ?

I have the same issue.
Xcode version 8.3
Appium version 1.6.3
Desktop OS/Version used to run the test : Mac OS Sierra
Mobile platform/version under test : iOS 10.3
Used simulator from xcode version 8.3

Can somebody please help?

@Kiran_Gowda , Hello Kiran, Have you solved this issue?

Hey nope,

I am working on a solution. If i have any luck will keep you updated.

I also have the same issue using “self.driver.execute_script(‘mobile: scroll’, {“element”: option, “toVisible”: True})”

The problem is definetely the update to XCODE 8.3. Downgrade to Xcode 8.2.x and it will work fine. Tested right now.

Download WebDriverAgent source from master and replace you local source at
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

mkdir -p Resources/WebDriverAgent.bundle
./Scripts/bootstrap.sh -d

Then configure provisioning profile
It helps me

1 Like

I tried this method but didn’t help :frowning: when i try to enter a text to a text field still get the error.

Anyone have any luck?

Hello,
Try this…it should work

This worked for me:

replace /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent with WDA sources downloaded from recent master

Restart the Appium server

Copied from Github - posted by mykola-mokhnach: