如何上传Flutter开发的dsyms文件? [英] How to upload dsyms files which developed with Flutter?
问题描述
我正在开发一个具有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
仍然,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:
- 在终端中,我运行 flutter build ios --release
- 在xCode中打开iOS项目并将设备切换到通用iOS设备
- 从顶部菜单Product> Archive
- 完成后,管理器窗口将显示您的存档版本。您还可以从Window> Organizer
- 手动打开此窗口,选择要上传到iTunes Connect的版本,然后点击Distribute App,然后按照以下步骤操作
- 上传完成后,右键单击管理器窗口中的版本,然后单击在Finder中显示
- 您应该在finder中看到一个存档文件,右键单击它,然后单击显示包装内容。
- 内部应有一个名为dSYM的文件夹,您可以将其压缩并发送至所需的地方
- In terminal I run 'flutter build ios --release'
- Open the iOS project in xCode and switch the device to 'Generic iOS Device'
- From the top menu Product>Archive
- Once finished the Organizer window will show your archived build. You can also manually open this window from Window>Organizer
- Choose the build you want to upload to iTunes Connect and hit Distribute App and follow the process
- After upload is complete right click on the build in the organizer window and click 'Show in Finder'
- You should see an archive file in finder, right-click it and click 'Show Package Contents'.
- Inside there should be a folder called dSYM that you can zip and send wherever you need
这篇关于如何上传Flutter开发的dsyms文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!