{"id":105,"date":"2020-03-19T19:37:02","date_gmt":"2020-03-19T18:37:02","guid":{"rendered":"https:\/\/mic.st\/blog\/?p=105"},"modified":"2020-04-13T19:47:21","modified_gmt":"2020-04-13T17:47:21","slug":"fix-crashing-when-opening-projects-in-xcode-11-3","status":"publish","type":"post","link":"https:\/\/mic.st\/blog\/fix-crashing-when-opening-projects-in-xcode-11-3\/","title":{"rendered":"Fix crashing when opening projects in XCode 11.3"},"content":{"rendered":"\n<p>Today I had some problems with a project that I wanted to continue working on today. Yesterday everything went fine but today XCode crashed everytime I tried to open it \ud83d\ude48<\/p>\n\n\n\n<p>Luckily there is a fix, that I found in a blog from 2014 \ud83d\ude05 (see link below). I had to do one additional step to make it work again. So here are all the steps I needed:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to your project folder, right click on your project file (<code>*.xcodeproj<\/code>), click &#8220;Show package contents&#8221;<\/li><li>Delete the folder <code>xcuserdata<\/code><\/li><li>Right click open <code>project.xcworkspace<\/code> inside that project file, delete <code>xcuserdata<\/code> there as well.<\/li><li>Delete everything in your beloved <code>Derived Data<\/code>. Its default location is <code>~\/Library\/Developer\/Xcode\/DerivedData<\/code>. <br>You can also navigate there from within a working project via XCode&#8217;s menu: Xcode\/Preferences\/[Tab] Locations\/[click on the arrow near the path of derived data]<\/li><li>Your broken project should open now.<br>If it does not build, e.g. with some &#8220;.plist error&#8221;, you should clean your build folder by pressing [Shift] + [CMD] + K<\/li><\/ol>\n\n\n\n<p>Now everything should work again \ud83c\udf89<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Sources:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/pinkstone.co.uk\/xcode-crashes-every-time-you-open-it-and-how-to-fix-it\/\" target=\"_blank\" rel=\"noopener\">https:\/\/pinkstone.co.uk\/xcode-crashes-every-time-you-open-it-and-how-to-fix-it\/<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I had some problems with a project that I wanted to continue working on today. Yesterday everything went fine but today XCode crashed everytime I tried to open it \ud83d\ude48 Luckily there is a fix, that I found in a blog from 2014 \ud83d\ude05 (see link below). I had to do one additional step&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[3],"tags":[4,15],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-ios-development","tag-ios","tag-xcode"],"_links":{"self":[{"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":0,"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mic.st\/blog\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}