{"id":1266,"date":"2016-03-02T13:23:04","date_gmt":"2016-03-02T18:23:04","guid":{"rendered":"http:\/\/workbook.mynmi.net\/?page_id=1266"},"modified":"2026-03-21T22:01:26","modified_gmt":"2026-03-21T22:01:26","slug":"launching-on-a-device","status":"publish","type":"page","link":"https:\/\/nmi.cool\/appdev\/launching-on-a-device\/","title":{"rendered":"Launching on a device"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>Up until this point we have launched and interacted with all of our apps in the simulator. But what if you want to test your app on an actual iOS device, such as your iPhone? Nothing to it \u2014 Apple&#8217;s documentation walks you through the whole process, and once you&#8217;ve done it once you&#8217;ll never have to repeat most of the steps.<\/p>\n\n\n\n<p>Follow Apple&#8217;s official instructions for both steps below:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/IDEs\/Conceptual\/AppDistributionGuide\/ConfiguringYourApp\/ConfiguringYourApp.html#\/\/apple_ref\/doc\/uid\/TP40012582-CH28-SW7\" target=\"_blank\" rel=\"noopener noreferrer\">Provisioning the team profile<\/a><\/li>\n\n\n<li><a href=\"https:\/\/help.apple.com\/xcode\/mac\/current\/#\/dev3e2f4ee6d\" target=\"_blank\" rel=\"noopener noreferrer\">Launching Your App on a Device<\/a><\/li>\n\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Key Takeaways<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Before launching on a real device, add your Apple ID to Xcode (Xcode \u2192 Settings \u2192 Accounts) and let Xcode automatically create a provisioning profile \u2014 you only need to do this once.<\/li>\n\n\n<li>Connect your iPhone via USB and select it as the run target in Xcode&#8217;s toolbar; it will appear once the device is unlocked.<\/li>\n\n\n<li>The first build to a device takes longer than the simulator; subsequent installs are much faster.<\/li>\n\n\n<li>If your iPhone shows &#8220;Untrusted Developer,&#8221; go to Settings \u2192 General \u2192 VPN &amp; Device Management, tap your developer name, and tap Trust.<\/li>\n\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview Up until this point we have launched and interacted with all of our apps in the simulator. But what if you want to test your app on an actual iOS device, such as your iPhone? Nothing to it \u2014 Apple&#8217;s documentation walks you through the whole process, and once you&#8217;ve done it once you&#8217;ll &hellip; <a href=\"https:\/\/nmi.cool\/appdev\/launching-on-a-device\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Launching on a device<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1266","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/1266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/comments?post=1266"}],"version-history":[{"count":3,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/1266\/revisions"}],"predecessor-version":[{"id":4177,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/1266\/revisions\/4177"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/media?parent=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}