{"id":28673,"date":"2017-03-06T03:01:48","date_gmt":"2017-03-05T17:01:48","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=28673"},"modified":"2017-03-06T16:09:51","modified_gmt":"2017-03-06T06:09:51","slug":"xcode-new-ios-mobile-device-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-new-ios-mobile-device-primer-tutorial\/","title":{"rendered":"Xcode New iOS Mobile Device Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-10of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Xcode New iOS Mobile Device Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-10of.jpg\" title=\"Xcode New iOS Mobile Device Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Xcode New iOS Mobile Device Primer Tutorial<\/p><\/div>\n<p>Today&#8217;s tutorial is primarily of interest for Apple Mac OS X Xcode Developers of Mobile Applications (or budding ones), on a computer such as a MacBook Pro, interfacing to iOS devices like iPhones and iPads, and who want to add in a new device into the mix.<\/p>\n<p>When you want to add a new iOS device into your list of Xcode devices to test your mobile applications with you will need to &#8230;<\/p>\n<ul>\n<li>Most likely on your MacBook Pro or desktop Mac computer, open Xcode desktop application &#8230;<\/li>\n<li>File -&gt; Open the Project of interest<\/li>\n<li>No doubt see that Product &gt; Destination does not contain your new device&#8217;s name <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-1of.jpg' title='Xcode New iOS Device'><\/img> &#8230; so &#8230;<\/li>\n<li>Use a white USB Mac lead from the MacBook Pro to this device <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-2of.jpg' title='Xcode New iOS Device'><\/img> &#8230; thanks for the advice from a Google search &#8230; and so &#8230;<\/li>\n<li>iTunes on the MacBook Pro opens up to control this new connection, and I Cancel any Syncing decisions (but you may be interested in these, perhaps)<\/li>\n<li>Click the device icon next to its name near the top, and an information screen appears <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-7of.jpg' title='Xcode New iOS Device'><\/img> &#8230;<\/li>\n<li>From that information, later you&#8217;ll need the <i>Name<\/i> of it, as per the blue button &#8230; and &#8230;<\/li>\n<li><i>UDID<\/i> &#8230; believe it or not, gleaned by clicking the word <i>Serial Number<\/i> which toggles to <i>UDID<\/i> <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-8of.jpg' title='Xcode New iOS Device'><\/img> and then <i>ECID<\/i> and then <i>Model Identifier<\/i> and then back again to <i>Serial Number<\/i><\/li>\n<li>In a web browser like Safari, on your MacBook Pro, navigate to <a target=_blank title='Apple Developer webpage' href='https:\/\/developer.apple.com\/'>https:\/\/developer.apple.com\/<\/a> at the address bar<\/li>\n<li>Click <i>Account<\/i> menu item<\/li>\n<li>Log in with your Apple ID (for Development work) and password<\/li>\n<li>Click <i>Certificates, Identifiers and Profiles<\/i> <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-6of.jpg' title='Xcode New iOS Device'><\/img><\/li>\n<li>If a new Membership cycle is current, you&#8217;ll be asked to update the Existing list of devices<\/li>\n<li>Click from the <i>Devices<\/i> menu at the left the type of new device you want to add &#8230; in our case, it was an <i>iPhone<\/i><\/li>\n<li>See any other of those devices (ie. iPhones) and if the proposed new one is not there, click the <i>+<\/i> button to set in play what is needed to do so &#8230;<\/li>\n<li>You will see a section &#8230; <br \/><b>Register Device<\/b><br \/>Name your device and enter its Unique Device Identifier (UDID).<\/i> &#8230; to which you &#8230;<\/li>\n<li>Make sure that radio button is selected and fill in the <i>Name<\/i> and <i>UDID<\/i> (that you hopefully gleaned via the MacBook Pro&#8217;s iTunes application, above)<\/li>\n<li>Click Continue button<\/li>\n<li>Click Register button &#8230; and hope to get to a &#8230;<\/li>\n<li>Reach Registration Successful webpage <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-9of.jpg' title='Xcode New iOS Device'><\/img> &#8230; at which point &#8230;<\/li>\n<li>Back at Xcode (IDE) under Product &gt; Destination you should see your new device <img src='http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/xcode_ios_new-10of.jpg' title='Xcode New iOS Device'><\/img> in the list, that you can now select, for us that being <i>Robert&#8217;s iPhone<\/i> (ie. its Name)<\/li>\n<li>Product -&gt; Run will now Build and Run your Xcode Project code, as long as the Platforms you&#8217;ve allowed for in the Project cover the iOS operating system of this new iOS device<\/li>\n<\/ul>\n<p>It&#8217;s a good idea with your future work with that MacBook Pro&#8217;s Xcode work with that new device that things are never left to lapse for too long between Xcode Project Build and Runs involving that iOS device.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d28673' onclick='var dv=document.getElementById(\"d28673\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/xcode\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d28673' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s tutorial is primarily of interest for Apple Mac OS X Xcode Developers of Mobile Applications (or budding ones), on a computer such as a MacBook Pro, interfacing to iOS devices like iPhones and iPads, and who want to add &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-new-ios-mobile-device-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,20,29,37,40],"tags":[91,170,319,585,630,631,641,725,734,795,797,997,1319,1473],"class_list":["post-28673","post","type-post","status-publish","format-standard","hentry","category-elearning","category-ios","category-operating-system","category-tutorials","category-xcode","tag-apple","tag-build","tag-desktop","tag-ide","tag-ipad","tag-iphone","tag-itunes","tag-mac-os-x","tag-macbook-pro","tag-mobile","tag-mobile-application","tag-programming","tag-tutorial","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/28673"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=28673"}],"version-history":[{"count":12,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/28673\/revisions"}],"predecessor-version":[{"id":28709,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/28673\/revisions\/28709"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=28673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=28673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=28673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}