Appium real device(iOS) connection error

Hi,

My iOS device is connected to the mac and works fine in simulator. But appium could not detect it. I dono why.

I have given by Udid and all other details but it fails…

Here is the log for the issue

info: [debug] Error: Command failed: /bin/sh -c ideviceinstaller -u e1b83e7546322f85b2fb5d59c1bfccbdd98a691d -i com.nbcuni.nbcots.nbcsandiego.adhoc
No iOS device found, is it plugged in?

at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket.<anonymous> (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)

info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u e1b83e7546322f85b2fb5d59c1bfccbdd98a691d -i com.nbcuni.nbcots.nbcsandiego.adhoc\nNo iOS device found, is it plugged in?\n)”,“killed”:false,“code”:255,“signal”:null,“cmd”:"/bin/sh -c ideviceinstaller -u e1b83e7546322f85b2fb5d59c1bfccbdd98a691d -i com.nbcuni.nbcots.nbcsandiego.adhoc",“origValue”:“Command failed: /bin/sh -c ideviceinstaller -u e1b83e7546322f85b2fb5d59c1bfccbdd98a691d -i com.nbcuni.nbcots.nbcsandiego.adhoc\nNo iOS device found, is it plugged in?\n”},“sessionId”:null}

error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller -u e1b83e7546322f85b2fb5d59c1bfccbdd98a691d -i com.nbcuni.nbcots.nbcsandiego.adhoc
No iOS device found, is it plugged in?

info: <-- POST /wd/hub/session 500 78.635 ms - 617

Thanks,

Have you tried rebooting the Mac?

I have tried it still remains the same

Can iTunes see the device? Also, have you tried different cables, usb ports, possibly a different Mac?