iOS應用崩潰日誌分析

來源:互聯網
上載者:User

標籤:ios應用崩潰日誌分析


總結:

1.注意,以下xxx皆為項目名

2.xcode進入Archives,選擇打包上架的版本,show in finder ,開啟包內容,dSYMs,xxx.app.dSYM,顯示包內容,Contents,Resources,DWARF,xxx

3.將xxx拷進crash所在檔案夾

4.在終端找symbolicatecrash工具

find /Applications/Xcode6.1.app -name symbolicatecrash -type f

5.找到symbolicatecrash後將symbolicatecrash拷貝進crash檔案夾裡

6..終端進入crash等檔案檔案目錄

7..在終端運行:./symbolicatecrash    xxx.crash(目錄,如:/Users/mr_lin/Desktop/Payload/xxx.crash)    xxx(目錄,如:/Users/mr_lin/Desktop/Payload/xxx)  >   Control_symbol.crash

8.提示: “Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 53.”

解決辦法:

在不關閉當前終端的情況下,輸入:

export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"

9.然後再在終端輸入:./symbolicatecrash    /Users/mr_lin/Desktop/Payload/Amei.app_Amei.crash    /Users/mr_lin/Desktop/Payload/Amei   >   Control_symbol.crash

產生的Control_symbol.crash便是符號化後的檔案



參考:

http://www.cocoachina.com/industry/20130725/6677.html


http://www.cnblogs.com/smileEvday/p/Crash1.html


http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application


http://www.cocoachina.com/bbs/read.php?tid=129732


http://blog.sina.com.cn/s/blog_69a620100102vaf3.html


http://blog.csdn.net/ys410900345/article/details/26756589


http://www.tuicool.com/articles/rymyEf


iOS應用崩潰日誌分析

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.