2016-07-28 84 views
0

我已經提交了我的測試版測試和審查的應用程序,很少用戶報告過隨機崩潰,我試圖修復崩潰的那個 我已經成功下載了使用Xcode的崩潰報告根據蘋果的文檔崩潰發生的堆棧框架以橙色突出顯示,但在崩潰報告中,在我的情況下沒有突出顯示的橙色,單擊堆棧框架(通過單擊箭頭)它打開項目但顯示Xcode Project的最後一個狀態並未顯示實際發生崩潰的文件和行。測試版通過Xcode組織者調試崩潰報告調試 - >崩潰

enter image description here

回答

2
following are the steps to trace out the crash reports. 
1. Open organizer and select crashes. 
2. Select the build submitted to Appstore from the left panel of organizer window under ios apps. 
3. Select any crash log under the Appstore->app version 
4. Right click on crash log and select show in finder. 
5. Again right click on the xxx.xccrashpoints(log file) and select show package contents. 
6. Go to the path Distributionlogs->all->logs to see all the crash reports. 
7. Move all the .crash file to any folder on desktop. 
8. Connect your iOS device with mac machine, open xcode(if not open) and go to Window->Devices->select you ios Device -> view device logs. 
9. Drag all the .crash reports(refer step 6,7) under all logs tab, and there you go.. you can see that your crash logs are desymbolicated, you can see the method name causing the crash. 

App Store的發佈版本已經desymbolicated爲您和您可以在小箭頭圖標,單擊以達到行沒有。導致崩潰。這主要是針對beta版本。

+0

這似乎工作,但很煩人。是否有任何其他選項可以在Xcode Organizer> Crashes面板中從beta測試中去除崩潰問題? – benrudhart

+1

@benrudhart for beta測試這是我唯一已知的方式,對於生產/實時構建,您會在崩潰的堆棧跟蹤旁邊找到一個小箭頭按鈕,它會將您帶到導致崩潰的行號。 –