Appium 1.6.1-beta, xcode 8.1 ios

Im trying to to use appium1.6.1-beta, xcode version 8.1 with ios device- no matter the ios device version (tried with ios 8.1 and ios
and i got error message:
Appium’s IosDriver does not support xcode version 8.1. Apple has deprecated UIAutomation. Use the “XCUITest” automationName capability instead.

another issue is how can i inspect element with appium client 1.6.1-beta? could not found solution.

Please help

@kineret I assume that you have not changed the desired capabilities , can you please share the desired capabilities ?


desired_caps = {}
desired_caps[‘appium-version’] = ‘1.6.1’
desired_caps[‘platformName’] = ‘ios’
desired_caps[‘platformVersion’] = ‘10.0.1’
desired_caps[‘deviceName’] = ‘s5’
desired_caps[‘app’] = os.path.abspath(desktop+"/ios_1.7.2_TE3487.ipa")
desired_caps[‘udid’]= ‘db965483453320c02bb5907be3b02248b2f99576’

I tried to add
but still not working

@kineret UIAutomation is deprecated for XCode 8.0 and later. You must launch Appium server with automation-name capability set as xcuitest. At the same time Appium 1.6 + XCode 8.0 is only compatible with iOS 9.3 or greater, for previous iOS versions you must use XCode 7 and automation-name set as UIAutomation (default I think).

Make sure that Appium is taking XCode 8.0 as its communication bridge with your device, may you have several XCode working in same computer.

Try to launch your Appium 1.6 server programatically from console and include --automation-name XCUITest to your usual desired capabilities.

appium --address --port 4723 --platform-name ios --platform-version 10.0.1 --automation-name XCUITest --device-name s5 --udid db965483453320c02bb5907be3b02248b2f99576

Hope it helps.