38

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?

Cœur
  • 32,421
  • 21
  • 173
  • 232
Saranya
  • 1,401
  • 3
  • 14
  • 25
  • 1
    I just had the same problem after updating my iPad 2 to iOS 6.1.3. The problem turned out to be that my version of xcode wasn't the most recent version, so it didn't have the SDK I needed to develop for 6.1.3. – Brian Apr 17 '13 at 14:13
  • Had this issue with Xcode 9.4.1 and an iPhone 7 with iOS 11.4. After trying everything in the answers here I restarted the iPhone and that worked. – Snehi Vallurupalli Jul 12 '18 at 15:34
  • Today it took me a while to understand why my newly installed Xcode did not recognise my iPad. I just needed to read the logs though. "This iPad runs 14.2. To run on this device, please update to a version of Xcode that supports iOS 14.2. " Turns out that I am using a beta iOS version on the iPad. Worth checking this. – multitudes Sep 25 '20 at 07:36

11 Answers11

114

This Worked for me.

  • Quit Xcode.
  • Disconnect the device.
  • In a terminal window, type: sudo pkill usbmuxd (it will be restarted again automatically)
  • Restart Xcode
  • Connect the device

Your device should now be visible again in Xcode!

Andrey Gordeev
  • 23,709
  • 8
  • 108
  • 140
user1323362
  • 1,141
  • 2
  • 7
  • 3
13

Open the Organizer in Xcode, go to devices, find your device and click the option to use for development

Andrei Filip
  • 1,077
  • 14
  • 32
9

I just plugged into another USB port and it detected by device.

Gautam Jain
  • 6,408
  • 8
  • 43
  • 64
5

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.

Nianliang
  • 2,686
  • 3
  • 24
  • 19
3

I was also faced the same issue in Xcode, my device was not detected after update the Xcode latest version(7.3.1)

Done so many things what suggested in the web-search but still the device was not detected.

Finally, I just quit and open the Xcode my device was detected(oh my bad).

Maddy
  • 379
  • 3
  • 11
2

If the chosen answer still does not work for you try this:

  1. Select the project in project explorer
  2. Select the target on the main window
  3. Select Build Settings
  4. Select Deployment
  5. Select iOS Deployment Target. Change it to the version of your device. (e.g. iOS 5.1)
Nathan Noble
  • 666
  • 6
  • 13
1

Most recently, Xcode 8.3 and iOS 10.3 seems to have more security around Xcode accessing the iPad/iPhone. My sequence:

  • Rebooted the machine,
  • Attached the iPad,
  • Gone through a "trust this computer" security cycle on both iMac and iPad
  • Xcode can now see the device
Richard
  • 1,209
  • 16
  • 25
0

Sometimes restarting Xcode helps. Give it a shot.

user1140780
  • 978
  • 2
  • 13
  • 29
0

In my case, restarting Mac worked and no other solution.

desertnaut
  • 46,107
  • 19
  • 109
  • 140
Manganese
  • 610
  • 5
  • 22
-1

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

  1. close your project or XCode.
  2. Give Right click on the Xcode in MAC tabbar and give the Quit option.
  3. Reopen the project from your finder(project place).

The device will be automatically detected.

M VIJAY
  • 29
  • 6
-2

Open the Windows in Xcode, go to devices. If Device is visible in Left side, Right click and select "Show in Destination Menu".

Enjoy..

Myaaoonn
  • 941
  • 10
  • 24