iOS 8, How to use device for development?

前端 未结 4 1536
终归单人心
终归单人心 2020-12-18 19:21

I have a new iPad Retina and I\'d like to use it for development with Xamarin Studio and XCode 6. In the past, with XCode 5 you simply connect the device and click the butt

相关标签:
4条回答
  • 2020-12-18 19:25

    You can register a device with your Developer ID at:

    https://developer.apple.com/account/ios/device/deviceList.action

    (You will have to be logged into the developer site to do so.)

    After that, everything should work fine. You can get your device's UDID from iTunes.

    0 讨论(0)
  • 2020-12-18 19:28
    • First you have to register the UDID of the device in iOS member center and add with the provisioning profile and install the provisioning profile

    • In versions of Xcode prior to Xcode 6, you can connect the device to your computer over USB, open Xcode -> Organizer and select Use for Development.

    • Use for Development was removed from Xcode in Xcode 6 and later. It is no longer possible to do this for devices using Xcode 6 or later, even with the Devices page

    • Try going to Window->Devices. You should see your attached device in the list so right click on the device and select Show Provisioning Profiles.It will show a window where you can add your profile.

    After that you will be able to install your app in that device.

    0 讨论(0)
  • 2020-12-18 19:33

    Try building and deploying an Xcode app and see what happens.

    I believe Xcode will popup a helpful dialog if you need to do something Xcode can't do automatically.

    0 讨论(0)
  • 2020-12-18 19:34

    Despite the hints here and elsewhere, it took me awhile to find the exact solution. So, for others who are new to Xcode:

    The navbar at the top of the main Xcode 6 window has a triangle run/play button, a square stop button, the app's name, then a target name, e.g. "iPhone 6" for one of the simulator options. The target name is actually a drop-down menu! That is where to select your actual device.

    Now click the triangle button to build & run. Likely result: "No non-expired provisioning profiles are installed" with a button to "Fix Issue". Click that, wait a bit ... done!

    Hat tip (and screenshots): http://www.bignerdranch.com/we-teach/how-to-prepare/ios-device-provisioning/#loc-provisioning-easy

    Cross reference to a later question with a more descriptive title: There is NO Use for Development in Xcode's Organizer window

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