iosswiftiphonexcodexcode8

There was an error with communicating with your device in Xcode


I searched all resources last day and didn't get a successful result. Please take it into consideration that I could test with this device a few days ago. But today I didn't do. Also I tested this iPhone with another mac, the result is the same. The device is an iPhone 6s. I did the following things: -restart Xcode -restart mac -restart device -clean& build project

Please help me for solving this problem.

1: You can see error's picture from here


Solution

  • Problem was due to device OS version.I just updated device version to 11.0 and restared device.Then problem solved.Hope this comment will help to someone