{"id":262,"date":"2007-01-17T09:36:04","date_gmt":"2007-01-17T16:36:04","guid":{"rendered":"http:\/\/www.red-sweater.com\/blog\/262\/restart-xcode"},"modified":"2007-01-17T09:36:31","modified_gmt":"2007-01-17T16:36:31","slug":"restart-xcode","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/262\/restart-xcode","title":{"rendered":"Restart Xcode"},"content":{"rendered":"<p>As much as I basically like <a href=\"http:\/\/www.apple.com\/macosx\/features\/xcode\/\">Xcode<\/a>, let&#8217;s just say it&#8217;s not without its infuriating quirks. Among these quirks are a number of subtle bugs that seriously degrade its usability, but that only seem to appear after using it for several hours or days. Your text editors stop showing your changes, the spinning pizza of death is appearing more often, the index doesn&#8217;t quite seem to be working. Xcode has <em>poor uptime<\/em>, when compared with Mac OS X itself.<\/p>\n<p>\nThe workaround is, of course to simply restart Xcode when it  gets flakey. But often this is an ordeal because you then have to go through your recent projects and manually reopen the one (or ones) that you were working on. I found myself frequently cmd-clicking the project window&#8217;s title to get a Finder reference to the project, so I could quickly reopen it after quitting.\n<\/p>\n<p>\n<a href=\"http:\/\/www.red-sweater.com\/AppleScript\/RestartXcode.zip\">Restart Xcode<\/a> does all of this for you. Save the script to your ~\/Scripts\/Applications\/Xcode folder, and keep it at easy reach from <a href=\"http:\/\/www.red-sweater.com\/fastscripts\/\">FastScripts<\/a> or the Apple Script Menu. When you run it, it asks Xcode to quit, but not before accumulating a list of all the project documents you&#8217;ve got open. It waits for the quit to finish, then promptly reopens Xcode and all the documents.\n<\/p>\n<p>\nUntil Apple improves the uptime of Xcode, this script is going to save me a lot of frustration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As much as I basically like Xcode, let&#8217;s just say it&#8217;s not without its infuriating quirks. Among these quirks are a number of subtle bugs that seriously degrade its usability, but that only seem to appear after using it for several hours or days. Your text editors stop showing your changes, the spinning pizza of [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,7,31,11,15,5],"tags":[],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-apple","category-applescript","category-carbon","category-cocoa","category-programming","category-xcode"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=262"}],"version-history":[{"count":0,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/262\/revisions"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}