<?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>dominic-tancredi.com &#187; apps</title> <atom:link href="http://dominic-tancredi.com/category/code-hacking/apps/feed/" rel="self" type="application/rss+xml" /><link>http://dominic-tancredi.com</link> <description>art + science hacking</description> <lastBuildDate>Sat, 07 Jan 2012 22:34:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>iPhone Crash Reports &#8211; use symbolicatecrash</title><link>http://dominic-tancredi.com/2010/11/03/iphone-crash-reports-use-symbolicatecrash/</link> <comments>http://dominic-tancredi.com/2010/11/03/iphone-crash-reports-use-symbolicatecrash/#comments</comments> <pubDate>Thu, 04 Nov 2010 02:56:18 +0000</pubDate> <dc:creator>dominic</dc:creator> <category><![CDATA[apps]]></category> <category><![CDATA[code hacking]]></category> <category><![CDATA[iphone / objective-c]]></category> <guid
isPermaLink="false">http://dominic-tancredi.com/?p=232</guid> <description><![CDATA[iPhone Crash Reports: the mobile developer&#8217;s key to debugging what went wrong in a user&#8217;s device interacting with your app. While debugging tonight, I found the report crazy symbolicated (i.e. all the states were replaced with the memory locations). To de-symbolicate, use the tool symbolicatecrash, a fun unix script designed to : take the crash [...]]]></description> <content:encoded><![CDATA[<p><strong>iPhone Crash Reports:</strong> the mobile developer&#8217;s key to debugging what went wrong in a user&#8217;s device interacting with your app.</p><p>While debugging tonight, I found the report crazy symbolicated (i.e. all the states were replaced with the memory locations). To de-symbolicate, use the tool <strong>symbolicatecrash</strong>, a fun unix script designed to :</p><ol><li>take the crash report</li><li>combine with the dSym file generated from your release build (you kept it right?)</li><li>output a de-symbolized, readable file</li></ol><p>I found my <strong>symbolicatecrash</strong> here:<br
/> <strong>Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks<br
/> /DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash</strong></p><p>After some advice online, I copied it into my /usr/local/bin folder:<br
/> <strong>sudo cp /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks<br
/> /DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /usr/local/bin<br
/> </strong><br
/> Then put the two files together and run a statement like this (names have been changed to protect the app I debugged):<br
/> <strong>symbolicatecrash test.crash test.app.dSYM > report-with-symbols.crash<br
/> </strong></p><p>And you have readable crash files!</p><p>One, note, I ran into this error:<br
/> <strong>Can&#8217;t understand the output from otool</strong></p><p>To fix that, open up your symbolicate crash, and replace this line (around line 301):<br
/> <em>die &#8220;Can&#8217;t understand the output from otool ($TEST_uuid -> &#8216;$otool -arch $arch -l $path&#8217;)&#8221;;</em></p><p>with this:</p><p><em>#die &#8220;Can&#8217;t understand the output from otool ($TEST_uuid -> &#8216;$otool -arch $arch -l $path&#8217;)&#8221;;<br
/> print &#8220;Can&#8217;t understand the output from otool ($TEST_uuid)&#8221;;<br
/> </em></p><p>References:</p><ul><li>http://efreedom.com/Question/1-1207223/iPhone-SDK-30-Symbolicatecrash-Getting-Along</li><li>http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/</li><li>http://furbo.org/2008/08/08/symbolicatifination/</li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdominic-tancredi.com%2F2010%2F11%2F03%2Fiphone-crash-reports-use-symbolicatecrash%2F&amp;title=iPhone%20Crash%20Reports%20%26%238211%3B%20use%20symbolicatecrash" id="wpa2a_2"><img
src="http://dominic-tancredi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://dominic-tancredi.com/2010/11/03/iphone-crash-reports-use-symbolicatecrash/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Danger Hiptop &#8211; Build Fail, Cannot find ${env.DANGER_HOME}</title><link>http://dominic-tancredi.com/2010/01/28/danger-hiptop-build-fail-cannot-find-env-danger_home/</link> <comments>http://dominic-tancredi.com/2010/01/28/danger-hiptop-build-fail-cannot-find-env-danger_home/#comments</comments> <pubDate>Thu, 28 Jan 2010 05:28:34 +0000</pubDate> <dc:creator>dominic</dc:creator> <category><![CDATA[apps]]></category> <category><![CDATA[code hacking]]></category> <category><![CDATA[danger]]></category> <category><![CDATA[hiptop]]></category> <guid
isPermaLink="false">http://dominic-tancredi.com/?p=177</guid> <description><![CDATA[Working on my first app for the Danger Hiptop SDK. It&#8217;s pretty fun, Java with custom classes stacked on top. I was editing the project in Eclipse, but when it came time to compile via the Ant build.xml, got this type of error: 12BUILD FAILED /Applications/hiptop-sdk/examples/chessclock/build.xml:14: Cannot find ${env.DANGER_HOME}/tools/build_common.xml imported from /Applications/hiptop-sdk/examples/ourspace/build.xml Reason? The environment [...]]]></description> <content:encoded><![CDATA[<p>Working on my first app for the Danger Hiptop SDK. It&#8217;s pretty fun, Java with custom classes stacked on top.</p><p>I was editing the project in Eclipse, but when it came time to compile via the Ant build.xml, got this type of error:</p><div
class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/>2<br
/></div></td><td><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BUILD FAILED<br
/> /Applications/hiptop-sdk/examples/chessclock/build.xml:14: Cannot find ${env.DANGER_HOME}/tools/build_common.xml imported from /Applications/hiptop-sdk/examples/ourspace/build.xml</div></td></tr></tbody></table></div><p>Reason? The environment variables I set weren&#8217;t being seen in Eclipse for some reason. Not to worry. Simply:</p><ol><li>Right click on build.xml</li><li>Select &#8220;Run As&#8230;&#8221;->&#8221;External Tools Configuration&#8221;</li><li>Select the &#8220;Environment&#8221; tab</li><li>Press &#8220;New&#8221;, and fill out &#8220;DANGER_HOME&#8221; and &#8220;/locationOfYourDangerSDK&#8221; (mine is &#8220;/Applications/hiptop-sdk&#8221;)</li><li>Hit &#8220;Run&#8221;!</li></ol><p>Before I was compiling it straight from terminal. But sometimes it&#8217;s nice to strike a fire instead of wait for lightning.</p><p>FTD</p><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdominic-tancredi.com%2F2010%2F01%2F28%2Fdanger-hiptop-build-fail-cannot-find-env-danger_home%2F&amp;title=Danger%20Hiptop%20%26%238211%3B%20Build%20Fail%2C%20Cannot%20find%20%24%7Benv.DANGER_HOME%7D" id="wpa2a_4"><img
src="http://dominic-tancredi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://dominic-tancredi.com/2010/01/28/danger-hiptop-build-fail-cannot-find-env-danger_home/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
