{"id":224,"date":"2009-06-12T17:13:18","date_gmt":"2009-06-13T00:13:18","guid":{"rendered":"https:\/\/hiddenelephant.com\/blog\/?p=224"},"modified":"2009-06-12T17:13:18","modified_gmt":"2009-06-13T00:13:18","slug":"targeting-iphone-2x-on-snow-leopard-with-xcode-32","status":"publish","type":"post","link":"https:\/\/hiddenelephant.com\/blog\/2009\/06\/12\/targeting-iphone-2x-on-snow-leopard-with-xcode-32\/","title":{"rendered":"Targeting iPhone 2.x on Snow Leopard with Xcode 3.2"},"content":{"rendered":"<p>A few of my fellow WWDC 2009 attendees and I drank a little too much of the Apple Kool-Aid and installed Snow Leopard and Xcode 3.2 over our existing Leopard installations. \u00c2\u00a0Unfortunately, iPhone 2.x SDKs were no longer available.<\/p>\n<p><a href=\"http:\/\/www.hiddenelephantblog.dreamhosters.com\/blog\/wp-content\/uploads\/2009\/06\/sdk30_drop_down.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-229\" title=\"sdk30_drop_down\" src=\"http:\/\/www.hiddenelephantblog.dreamhosters.com\/blog\/wp-content\/uploads\/2009\/06\/sdk30_drop_down.png\" alt=\"sdk30_drop_down\" width=\"314\" height=\"179\" srcset=\"https:\/\/hiddenelephant.com\/blog\/wp-content\/uploads\/2009\/06\/sdk30_drop_down.png 314w, https:\/\/hiddenelephant.com\/blog\/wp-content\/uploads\/2009\/06\/sdk30_drop_down-300x171.png 300w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>This is a bit of a bummer if you&#8217;d like to continue targeting 2.x devices. \u00c2\u00a0Luckily, the solution turns out to be quite simple.\u00c2\u00a0 It also happens to be part of what you&#8217;ll need to do to continue targeting 2.x devices while providing advanced features on iPhone OS 3.0 devices.\u00c2\u00a0 I&#8217;ll leave that discussion for a future post.<\/p>\n<p>To target a 2.x device using Snow Leopard and Xcode 3.2 you have to change your project&#8217;s &#8220;iPhone OS Deployment Target.&#8221;<\/p>\n<p><a href=\"http:\/\/www.hiddenelephantblog.dreamhosters.com\/blog\/wp-content\/uploads\/2009\/06\/deploymenttarget.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-240\" title=\"deploymenttarget\" src=\"http:\/\/www.hiddenelephantblog.dreamhosters.com\/blog\/wp-content\/uploads\/2009\/06\/deploymenttarget.png\" alt=\"deploymenttarget\" width=\"395\" height=\"105\" srcset=\"https:\/\/hiddenelephant.com\/blog\/wp-content\/uploads\/2009\/06\/deploymenttarget.png 395w, https:\/\/hiddenelephant.com\/blog\/wp-content\/uploads\/2009\/06\/deploymenttarget-300x79.png 300w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/a><\/p>\n<p>That&#8217;s it, you&#8217;re done.<\/p>\n<p><strong>Quick note:<\/strong> if you compile and run into issues during device install (e.g., something about not being able to validate), make sure you have no underscores in your app&#8217;s name.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few of my fellow WWDC 2009 attendees and I drank a little too much of the Apple Kool-Aid and installed Snow Leopard and Xcode 3.2 over our existing Leopard installations. \u00c2\u00a0Unfortunately, iPhone 2.x SDKs were no longer available.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[10,12],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-tools","tag-iphone","tag-xcode"],"_links":{"self":[{"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":0,"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"wp:attachment":[{"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiddenelephant.com\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}