{"id":8,"date":"2011-09-05T05:40:00","date_gmt":"2011-09-05T05:40:00","guid":{"rendered":"http:\/\/sdkit.com\/?p=8"},"modified":"2014-06-19T03:00:37","modified_gmt":"2014-06-19T03:00:37","slug":"how-to-fix-xcode-4-installation-stuck-issue-on-mac-os-x-lion","status":"publish","type":"post","link":"https:\/\/sdkit.com\/?p=8","title":{"rendered":"How To Fix Xcode 4 Installation stuck issue on Mac OS X Lion"},"content":{"rendered":"<p>If you like many experiencing an issue while installing Xcode 4 on Mac OS X Lion where it gets stuck at the very end at 98%-99% and seems like most packages installed but Xcode alias was not created in the Applications folder, there&#8217;s a solution for that.<\/p>\n<p>First of all the initial issue was with being unable to quit iTunesHelper process and Apple tried fixing it releasing Xcode 4.0.1 update to the App Store, but that did not resolve the issue to most users even if one manually kills the process via Activity Monitor (Task Manager).<\/p>\n<p>Second, before proceeding with the installation that works, let&#8217;s uninstall any previous versions of xcode or orphan dev packages by running this command:<\/p>\n<pre>sudo \/Developer\/Library\/uninstall-devtools --mode=all<\/pre>\n<p>Once everything is removed, empty Trash and Restart your Mac. You can clean the dishes as well while Mac OS X is being restarted.<\/p>\n<p>Now to install Xcode without hanging or giving errors, assuming you have downloaded version 4.0.1 from the App Store, you can find &#8220;Install Xcode&#8221; icon in your Applications folder.<\/p>\n<p>Right click on the &#8220;Install Xcode&#8221; and click &#8220;Show Package Contents&#8221;<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.22.32-AM.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.22.32-AM.png\" \/><\/a><\/div>\n<p>Then navigate to Contents &gt; Resources &gt; Xcode.mpkg and double-click on it.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.21.13-AM.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.21.13-AM.png\" \/><\/a><\/div>\n<p>Next follow the installer prompts to proceed with the&nbsp;installation&nbsp;of Xcode<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.20.48-AM.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"226\" src=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.20.48-AM-300x212.png\" width=\"320\" \/><\/a><\/div>\n<p>Once the installation is successfully complete, you can close the installer and enjoy developing your Apps.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.39.30-AM.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"226\" src=\"http:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.39.30-AM-300x212.png\" width=\"320\" \/><\/a><\/div>\n<p>If you have any questions or comments, please post them below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you like many experiencing an issue while installing Xcode 4 on Mac OS X Lion where it gets stuck at the very end at 98%-99% and seems like most packages installed but Xcode alias was not created in the Applications folder, there&#8217;s a solution for that. First of all the initial issue was with &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How To Fix Xcode 4 Installation stuck issue on Mac OS X Lion\" class=\"read-more button\" href=\"https:\/\/sdkit.com\/?p=8#more-8\" aria-label=\"Read more about How To Fix Xcode 4 Installation stuck issue on Mac OS X Lion\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":22,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33,14,9,31,29,32,2,6,30],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix","category-how-to","category-lion","category-mac","category-mac-os-x","category-stuck","category-tutorial","category-unix","category-xcode","no-featured-image-padding"],"jetpack_featured_media_url":"https:\/\/sdkit.com\/wp-content\/uploads\/2011\/09\/Screen-Shot-2011-09-05-at-5.22.32-AM.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sdkit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":0,"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sdkit.com\/index.php?rest_route=\/wp\/v2\/media\/22"}],"wp:attachment":[{"href":"https:\/\/sdkit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdkit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdkit.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}