如何上传Flutter开发的dsyms文件? [英] How to upload dsyms files which developed with Flutter?

查看:108
本文介绍了如何上传Flutter开发的dsyms文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个具有Flutter支持的跨平台应用程序。我集成了Firebase Crashlytics,用于崩溃报告。在我需要检查报告之前出现一条错误消息

I am developing one Cross-platform app with flutter support. I Integrated firebase Crashlytics for crash reports. before I need to check report one error message comes

上传1个丢失的dSYM,以处理4个崩溃

为此,我尝试了firebase文档

for that, I tried firebase docs

获取已清除混淆的崩溃报告

此外,我还按照步骤操作,使用Flutter构建iOS存档

also, I followed steps to build iOS Archive with flutter

准备要发布的iOS应用

仍然,firebase门户上存在相同的问题

Still, There is the same issue on firebase portal

上传1个缺少的dSYM处理4次崩溃

我尝试了很多次,但仍未完成。

I tried this many times but still not done yet.

如果有人有想法,请帮助我解决此问题。

If someone has Idea then please help me to fix this issue.

感谢社区

推荐答案

在准备发布应用程序时,我采取以下步骤导出,上传并获取dSYM:

When preparing my app for release I take these steps to export, upload, and get the dSYM's:


  1. 在终端中,我运行 flutter build ios --release

  2. 在xCode中打开iOS项目并将设备切换到通用iOS设备

  3. 从顶部菜单Product> Archive

  4. 完成后,管理器窗口将显示您的存档版本。您还可以从Window> Organizer

  5. 手动打开此窗口,选择要上传到iTunes Connect的版本,然后点击Distribute App,然后按照以下步骤操作

  6. 上传完成后,右键单击管理器窗口中的版本,然后单击在Finder中显示

  7. 您应该在finder中看到一个存档文件,右键单击它,然后单击显示包装内容。

  8. 内部应有一个名为dSYM的文件夹,您可以将其压缩并发送至所需的地方

  1. In terminal I run 'flutter build ios --release'
  2. Open the iOS project in xCode and switch the device to 'Generic iOS Device'
  3. From the top menu Product>Archive
  4. Once finished the Organizer window will show your archived build. You can also manually open this window from Window>Organizer
  5. Choose the build you want to upload to iTunes Connect and hit Distribute App and follow the process
  6. After upload is complete right click on the build in the organizer window and click 'Show in Finder'
  7. You should see an archive file in finder, right-click it and click 'Show Package Contents'.
  8. Inside there should be a folder called dSYM that you can zip and send wherever you need

这篇关于如何上传Flutter开发的dsyms文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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