I upgraded my iPad device OS version recently to 5.1.1 (9B206). From that my Xcode is not detecting my device. Am just getting iOS Device and simulator options in my Xcode. But am getting my device in older version of Xcode and iTunes. For this i updated my MAC OS version to 10.7.4 and Xcode version to 4.3.3. But still am facing the same problem. Now how to make my Xcode to detect my device?
13 Answers
In another case, check the "iOS Deployment Target" in "Build Settings", if the target iOS version number is great than the version of device, then the device will not show in the list.
Say that, the "iOS Deployment Target" == 7.0, and the version of device is 6.0, to solve the problem by change the "iOS Deployment Target" to 6.0 or lower.
This SO answer solved it for me https://stackoverflow.com/a/56054170/5813473 .
sudo killall -STOP -c usbd
did the magic.
Well later I had to unplug/plug in again at occasions, but that 'killall' really solved the original issue.
Just simple, close the project on your XCode. Just right-click on the XCode in the taskbar and give a quit option. After open the XCode from the directory, it will detect your device. It also work on Xcode version 11.2.1
- close your project or XCode.
- Give Right click on the Xcode in MAC tabbar and give the Quit option.
- Reopen the project from your finder(project place).
The device will be automatically detected.