This is the second of our four step process towards deploying an iOS application to a device. In our first segment we walked through the full process of creating iOS developer certificates in Visual Studio. Our next step is registering any iOS devices we need onto our iOS developer profile. This registration plus our third step - creating an App ID - are prerequisites to the final step of building provisioning profiles. Once we have provisioning profiles we can actually test our our apps on real devices.
Grab your iOS devices and let's get started.
To register your iOS device with Apple you'll need to know its UDID (Unique Device Identifier). Unfortunately there is currently no way to get your device's UDID in Visual Studio, but you can easily get the UDID in iTunes.
Connect your iOS device to your machine, open iTunes, and click on your device as shown below:
From there, click on the "Serial Number" text to reveal the device's UDID:
Unfortunately you can not copy this number to the clipboard, therefore you'll have to reference it when registering your device on Apple's developer portal, which we'll cover next.
Now that we have the device's identifier, we have to register it with Apple. On Apple's iOS developer site, click on the "Certificates, Identifiers, & Profiles" link shown below:
Next, click on "Devices" under iOS Apps:
At the top of the list of iOS devices, click the plus icon to add a new device.
At this screen, give the device a name and provide the UDID we found in iTunes earlier.
Finally, click the register button to finish the device registration process.
That's it! We now have our devices setup and associated with our iOS developer account. We'll need these devices available when we setup provisioning profiles for testing our applications. We'll tackle that in the last of our four step series. In our next step, we'll look at the final requirement before creating provisioning profiles - registering an App Id.
TJ VanToll is a web developer, speaker, and writer living in Lansing, MI and working as a developer advocate for Telerik. He is an open source advocate that is on the jQuery UI team and publishes his blog open source. TJ is also the author of an upcoming book from Manning: jQuery UI in Action. When not online, TJ is generally found chasing his twin sons in circles. TJ is @tjvantoll on Twitter and tjvantoll on Github.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.