无法完成dSYM的提交,当将崩溃解决方案从架构迁移到Firebase时

问题描述 投票:-1回答:1

我在Mac OS 10.14.1中使用xcode11。我使用以下文档实现了从Fabric到Firebase的迁移。

https://medium.com/@niamhpower/the-great-migration-moving-from-fabric-to-firebase-as-an-ios-developer-7b61a8b40008

并且我生成了用于测试崩溃的代码,但是此崩溃报告无法显示在firebase crashlytics控制台中。为此,我使用了以下文档

https://firebase.google.com/docs/crashlytics/force-a-crash?platform=ios

我还在Xcode构建阶段中添加了以下运行脚本

“ $ {PODS_ROOT} / Fabric / upload-symbols” -gsp“ $ {PROJECT_DIR} /GoogleService-Info.plist” -p ios“ $ {DWARF_DSYM_FOLDER_PATH} / $ {DWARF_DSYM_FILE_NAME}”

但是当我运行应用程序时,这将返回以下错误。

31merror:在/Users/macmini1/Library/Developer/Xcode/DerivedData/app_name-dnzsvdsxebmfqjbjecjlyhdzwags/Build/Products/Debug-iphonesimulator/app_name.app.dSYM:无法完成dSYM提交:错误Domain = com。 .mac.error-domain.process-dsym代码= 3“文件不再存在(空)” UserInfo = {NSLocalizedFailureReason =文件不再存在(空)} [0m命令PhaseScriptExecution失败,退出代码非零]]

请您帮我解决这个问题

我在Mac OS 10.14.1中使用xcode11。我使用以下文档实现了从Fabric到Firebase的迁移。 https://medium.com/@niamhpower/the-great-migration-moving-from-fabric-to-firebase-as-an -...

ios swift firebase crashlytics google-fabric
1个回答
0
投票

我有同样的问题。原因是脚本“ $ {PODS_ROOT} / Fabric / run”不是“构建阶段”脚本列表中的最后一个。将脚本放到最后,一切正常。

© www.soinside.com 2019 - 2024. All rights reserved.