Xcode doesn't see my iOS device but iTunes does

前端 未结 27 2178
一生所求
一生所求 2020-12-07 12:38

I have a strange problem.

I have an iPad with iOS 5.0.1 (9A405) and iOS SDK 5.0.1 with Xcode 4.2 (Build 4C199) installed on my Mac.

Xcode doesn\'t see my dev

相关标签:
27条回答
  • 2020-12-07 13:15

    For Xcode 7 (and possibly above),

    go to Window -> Devices, 
    

    hit the plus sign at the bottom and select the device connected and hit next, then Use for development.

    This only works if Xcode is reading your device, but you aren't able to run your app on the device.

    Also make sure the device's OS version is greater than or equal to your app's Deployment Target OS version.

    0 讨论(0)
  • 2020-12-07 13:15

    I had this problem. I somehow registered the device for generic team on apple. I don't remember how I did it now. Then I was able to overcome this error.

    0 讨论(0)
  • 2020-12-07 13:15

    If none of these work, try simpling restarting your iphone or device! Works every time for me (:

    0 讨论(0)
  • 2020-12-07 13:17

    I ran into this issue today where Xcode 8.2.1 suddenly decided the connected ipad (ios 10.2) was no longer connected. Unplugged, plugged back in, rebooted my macbook, and tried numerous recommendations above. The thing that fixed the issue for me was shutting down and rebooting the ipad device itself.

    0 讨论(0)
  • 2020-12-07 13:17

    I tried all of the above to no avail. I had been using the phone for ages and suddenly the Organizer thought "this device is currently not connected". A reset of the phone fixed it for me (hold Home & Power until the Apple logo). I did so with it still connected to the MacBook, but it shouldn't be necessary.

    0 讨论(0)
  • 2020-12-07 13:21

    Ran into this issue having upgraded from XCode 9 to 10.1. No devices at all were appearing in XCode, despite performing all the steps listed in other answers.

    For me the solution was to do a clean CMake build, deleting the old Xcode project files.

    0 讨论(0)
提交回复
热议问题