iOS app crash log analysis

Source: Internet
Author: User
<span id="Label3"></p><p><p><br></p></p><p><p></p></p><p><p>Summarize:</p></p><p><p>1. Note that the following XXX is the project name</p></p><p><p>2.xcode Enter archives, Select the packaged version, show in finder, Open Package contents, dsyms,xxx.app.dsym, Show Package contents, contents,resources,dwarf,xxx</p></p><p><p>3. Copy xxx into the crash folder</p></p><p><p>4. Find the Symbolicatecrash tool in the terminal</p></p><pre class="prettyprint undefined" style="padding:.3em;font-family:Monaco, Menlo, Consolas, ‘Courier New‘, monospace;color:rgb(51,51,51);margin-top:0px;margin-bottom:1.5em;font-size:12px;line-height:1.5em;white-space:pre-wrap;border:1px solid;background-color:rgb(246,246,246);"><pre class="prettyprint undefined" style="padding:.3em;font-family:Monaco, Menlo, Consolas, ‘Courier New‘, monospace;color:rgb(51,51,51);margin-top:0px;margin-bottom:1.5em;font-size:12px;line-height:1.5em;white-space:pre-wrap;border:1px solid;background-color:rgb(246,246,246);">Find/applications/xcode6.1.app-name Symbolicatecrash-type F</pre></pre><p><p>5. After locating symbolicatecrash, copy the Symbolicatecrash into the crash folder.</p></p><p class="p1"><p class="p1"><span class="s1">6. Terminal enters crash file directory</span></p></p><p class="p1"><p class="p1"><span class="s1">7.: run at Terminal/symbolicatecrash xxx.crash (directory, such as:/users/mr_lin/desktop/payload/xxx.crash) xxx (directory, such as:/users/mr_lin/ Desktop/payload/xxx) > Control_symbol.crash</span></p></p><p class="p1"><p class="p1">8. Tip: " <span style="color:rgb(51,51,51);font-family:‘Source Sans Pro‘, Helvetica, Arial, sans-serif;font-size:14px;line-height:20px;background-color:rgb(255,255,255);">Error:" developer_dir "is not defined At./symbolicatecrash line."</span></p></p><p class="p1"><p class="p1">Workaround:</p></p><p style="border:0px;font-family:‘Source Sans Pro‘, Helvetica, Arial, sans-serif;font-size:14px;margin-top:0px;margin-bottom:10px;padding:0px;vertical-align:baseline;color:rgb(51,51,51);line-height:20px;white-space:normal;background-color:rgb(255,255,255);"><p style="border:0px;font-family:‘Source Sans Pro‘, Helvetica, Arial, sans-serif;font-size:14px;margin-top:0px;margin-bottom:10px;padding:0px;vertical-align:baseline;color:rgb(51,51,51);line-height:20px;white-space:normal;background-color:rgb(255,255,255);">In the case where the current terminal is not closed, enter:</p></p><pre class="brush:bash;toolbar:false" style="border:1px solid rgb(204,204,204);font-family:Monaco, Menlo, Consolas, ‘Courier New‘, monospace;font-size:13px;margin-top:0px;margin-bottom:10px;padding:9.5px;vertical-align:baseline;white-space:pre-wrap;line-height:1.428571429;color:rgb(51,51,51);background-color:rgb(245,245,245);"><pre class="brush:bash;toolbar:false" style="border:1px solid rgb(204,204,204);font-family:Monaco, Menlo, Consolas, ‘Courier New‘, monospace;font-size:13px;margin-top:0px;margin-bottom:10px;padding:9.5px;vertical-align:baseline;white-space:pre-wrap;line-height:1.428571429;color:rgb(51,51,51);background-color:rgb(245,245,245);">Export developer_dir= "/applications/xcode.app/contents/developer"</pre></pre><p class="p1"><p class="p1">9. Then in terminal input:./symbolicatecrash/users/mr_lin/desktop/payload/amei.app_amei.crash/users/mr_lin/desktop/payload/ Amei > Control_symbol.crash</p></p><p class="p1"><p class="p1">The generated control_symbol.crash is the symbolic file</p></p><p class="p1"><p class="p1"><br></p></p><p class="p1"><p class="p1"><br></p></p><p class="p1"><p class="p1">Reference:</p></p><p style="white-space:normal;"><p style="white-space:normal;">Http://www.cocoachina.com/industry/20130725/6677.html</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">Http://www.cnblogs.com/smileEvday/p/Crash1.html</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">Http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">http://www.cocoachina.com/bbs/read.php?tid=129732</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">Http://blog.sina.com.cn/s/blog_69a620100102vaf3.html</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">http://blog.csdn.net/ys410900345/article/details/26756589</p></p><p style="white-space:normal;"><p style="white-space:normal;"><br></p></p><p style="white-space:normal;"><p style="white-space:normal;">Http://www.tuicool.com/articles/rymyEf</p></p><p class="p1"><p class="p1"><br></p></p><p><p>iOS app crash log analysis</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.