<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>crash &#8211; Stacie Arellano</title>
	<atom:link href="https://www.staciearellano.com/tag/crash/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.staciearellano.com</link>
	<description>Artist, Author, Web Maven</description>
	<lastBuildDate>Wed, 17 Aug 2016 15:59:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.staciearellano.com/wp-content/uploads/2019/09/cropped-bright-hair2019-32x32.jpg</url>
	<title>crash &#8211; Stacie Arellano</title>
	<link>https://www.staciearellano.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">47314203</site>	<item>
		<title>How to fix Xcode Crashes</title>
		<link>https://www.staciearellano.com/how-to-fix-xcode-crashes/</link>
					<comments>https://www.staciearellano.com/how-to-fix-xcode-crashes/#respond</comments>
		
		<dc:creator><![CDATA[Stacie]]></dc:creator>
		<pubDate>Wed, 17 Aug 2016 11:56:02 +0000</pubDate>
				<category><![CDATA[GameDev]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[xcode]]></category>
		<guid isPermaLink="false">http://www.staciearellano.com/?p=989</guid>

					<description><![CDATA[Tips for when your Xcode/beta crashes when you try to run. TLDR: Xcode was crashing after building successfully but before running. Deleting my User Prefs&#8230;]]></description>
										<content:encoded><![CDATA[<h3>Tips for when your Xcode/beta crashes when you try to run.</h3>
<p><strong>TLDR</strong>: Xcode was crashing after building successfully but before running. <strong>Deleting my User Prefs fixed my error</strong>, but I&#8217;ve listed the steps I tried, and some other best practice options below.</p>
<hr />
<p><strong>My problem was this</strong>: Xcode 8 beta 2 arrived, and I went merrily on my way playing with all the great stuff we learned about at WWDC.</p>
<p>However, everytime I tried to build and run in the new Xcode beta 2 (and later in beta 3) I would get a <span style="text-decoration: underline;">successful build</span> and then the whole program would <strong>crash without opening the simulator or deploying</strong> to a device.</p>
<p>I talked to a lot of people in my knowledge network, and did all sorts of searching on the error I was getting:</p>
<blockquote><p>&#8220;Exception Type: EXC_CRASH (SIGABRT)<br />
Exception Codes: 0x0000000000000000, 0x0000000000000000<br />
Exception Note: EXC_CORPSE_NOTIFY</p>
<p>Application Specific Information:<br />
ProductBuildVersion: 8S162m<br />
_ASSERTION FAILURE_ in /Library/Caches/com.apple.xbs/Sources/<strong>IDESpriteKitSupport</strong>/IDESpriteKitSupport-11049/Foundation/Classes/Document/SKEditorDocument.m:201”</p></blockquote>
<p>This was strange, because the app I was working on was not using SpriteKit at all.  It was from a tutorial from Paul Hudson from his new <a href="https://gumroad.com/l/ios10" target="_blank">Practical iOS 10 book. </a>(<strong>which is great so far, fyi)</strong></p>
<p>To test that it wasn&#8217;t something I&#8217;d done in the project, I made a new blank one, cleverly named &#8216;dontcrash&#8217;, and tried to build and run it. <strong>Xcode crashed again</strong>.</p>
<p><em>I actually ended up with several blank apps: dontcrash2, <em>dontcrash3</em> dontcrashXcodebeta3 and finally- CrashyApp, before I hit on the solution. </em></p>
<p><strong>Basic Options for Xcode Crashes</strong></p>
<ol>
<li>Clean the project.</li>
<li>Target a different simulator you haven’t tried with the project yet.</li>
<li>Delete Derived Data directory</li>
<li>Delete app, re-install.</li>
<li><strong>Delete User Preferences</strong>
<ol>
<li>As mentioned here:<a href="http://stackoverflow.com/questions/31354850/xcode-7-beta-3-crash-at-startup" target="_blank"> http://stackoverflow.com/questions/31354850/xcode-7-beta-3-crash-at-startup</a></li>
<li><strong>Note: </strong>Deleting the app and reinstalling does <strong><em>not</em></strong> remove the user preferences.</li>
<li>This fixed my problem.Not sure how my prefs got confused in the first place.</li>
</ol>
</li>
</ol>
<p><strong>Advanced options </strong>(I didn&#8217;t get this far)</p>
<ul>
<li><span class="s1">Monitor memory usage in the Debug navigator</span></li>
<li><span class="s1">Inspect a few malloc generations in Instruments</span></li>
</ul>
<p>&nbsp;</p>
<p class="p1">
]]></content:encoded>
					
					<wfw:commentRss>https://www.staciearellano.com/how-to-fix-xcode-crashes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">989</post-id>	</item>
	</channel>
</rss>
