Unable to start session: Incompatible device

Hello guys,

I encountered an issue with running my configuration, when I want to start a new session:
Appium Desktop v1.7.1, xCode 8.3.3, MAC OS Version : 10.12.6
{
“platformName”: “iOS”,
“platformVersion”: “10.3”,
“deviceName”: “iPad”,
“app”: “/Users/kralijir/Downloads/Now.ipa”,
“automationName”: “XCUITest”
}
My simulator is running. I tried to google the issue, but did not find anything useful. Any idea?

The error is:
[MJSONWP] Encountered internal error running command: Error: Could not create simulator with name ‘appiumTest-6f1444a9-6787-4a42-8425-db6a586963a6’, device type id ‘iPad’ and runtime id ‘10.3.1’. Reason: 'simctl error running ‘create’: An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=161):
Incompatible device’

at Object.wrappedLogger.errorAndThrow (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
at createDevice$ (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/node-simctl/lib/simctl.js:343:9)
at tryCatch (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/private/var/folders/ng/wgtpmp3s29d87xsgrk7vwxg4nzjz_t/T/AppTranslocation/978D23C1-CFD5-41CD-B344-1B0AC0BCE40A/d/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)

If you need more info, let me know. I am new in Appium, but Android session is working fine for me. Thank you!

The problem was with deviceName. It have to be one of available one.

try using udid. It’s the device serial from adb devices, at least with android.

If you use more devices the name doesn’t matter, it isn’t helpful.