如何符号表示从苹果收到的.txt格式而不是.crash格式的崩溃报告 [英] How to symbolicate crash report from Apple received in .txt format not .crash format

查看:151
本文介绍了如何符号表示从苹果收到的.txt格式而不是.crash格式的崩溃报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序被Apple拒绝了,并且我收到了.txt格式而不是.crash格式的崩溃报告.

My app got rejected from Apple and I have got crash reports in .txt format instead of .crash format.

如何符号化或读取崩溃报告?

How can I symbolicate or read the crash report ?

推荐答案

当您以.txt文件形式获取崩溃报告时,请遵循以下步骤 步骤:

When you get your crash report as a .txt file just follow these steps :

  1. 将文件扩展名.txt更改为.crash(例如,将mycrash.txt更改为mycrash.crash).

  1. Change the file extension .txt to .crash (eg mycrash.txt to mycrash.crash).

在桌面中创建一个新文件夹,并将mycrash.crash文件复制到 新创建的文件夹.

Create a new folder in desktop and copy the mycrash.crash file to the newly created folder.

复制.dSYM文件:

  • 更新:从appstoreconnect活动中下载所有DSYM,并使用其UUID正确命名
  • 解压缩DSYM,然后按照以下定义复制App和Sybolicate脚本: https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/[appID]/activity/ios/builds/[version]/[build]/details
  • update: download all DSYMs from appstoreconnect activity- they are properly named with their UUIDs
  • Unzip DSYMs, then copy the App and Sybolicate script as defined below: https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/[appID]/activity/ios/builds/[version]/[build]/details

通过浏览以下菜单打开Xcode中的存档"窗口:xcode -> window -> orgnizerxcode -> product -> Archive:

Open the Archives window in Xcode by navigating the menus: xcode -> window -> orgnizer or xcode -> product -> Archive:

  • 选择应用程序的任何存档右键单击它,然后选择在Finder中显示

右键单击appname.xcarchive并选择显示包装内容.

打开dSYMs文件夹并获取.dSYM文件,并将其也粘贴到新创建的文件夹中.

Open the dSYMs folder and get the .dSYM file, and paste it too in the newly created folder.

将.app文件从同一xcarchive复制到新文件夹.

Copy the .app file from the same xcarchive to the new folder.

转到路径/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/

  • Finder热键(⇧+⌘+ G),然后粘贴到路径中.

symbolicatecrash文件复制到新创建的文件夹中.

Copy the symbolicatecrash file to the newly created folder.

  • mycrash.crash
  • myapp.app
  • myapp.app.dSYM
  • symbolicatecrash

打开终端,导航到您的文件夹路径,然后运行:
$ export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"

Open terminal, navigate to your folder path and then run:
$ export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"

然后像这样在崩溃时运行symbolicate命令:
$ ./symbolicatecrash mycrash.crash > symbolicated.crash

Then run the symbolicate command on your crash like so:
$ ./symbolicatecrash mycrash.crash > symbolicated.crash

这篇关于如何符号表示从苹果收到的.txt格式而不是.crash格式的崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆