在ios上使用Firebase崩溃报告时出现无法解决的错误(符号文件)

Xer*_*ero 9 ios firebase firebase-crash-reporting

我正在使用firebase崩溃报告来破坏我的iphone项目.

但是我收到的日志不可读:

Exception name: EXC_BREAKPOINT / EXC_ARM_BREAKPOINT

TPC_swift
4295841940 + 284820

TPC_swift
4295841344 + 284224

TPC_swift
4296852240 + 1295120

libdispatch.dylib
_dispatch_call_block_and_release + 5304

libdispatch.dylib
_dispatch_client_callout + 5240

libdispatch.dylib
_dispatch_main_queue_callback_4CF + 27520

CoreFoundation
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 920908

CoreFoundation
__CFRunLoopRun + 912308
9
CoreFoundation
CFRunLoopRunSpecific + 35916

GraphicsServices
GSEventRunModal + 49284

UIKit
UIApplicationMain + 516228

TPC_swift
4295904544 + 347424

libdyld.dylib
start + 10420
Run Code Online (Sandbox Code Playgroud)

这是firebase或apple错误的问题?

在我的项目的构建阶段,我有这个脚本:

# Replace this path with the path to the key you just downloaded
Run Code Online (Sandbox Code Playgroud)

JSON_FILE =/*****/TPC_Swift/TPC_swift/TPC_swift /项目 - *****JSON

# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=1:*********:ios:***************

defaults write com.google.SymbolUpload version -integer 1   # creates file if it does not exist
JSON=$(cat "${JSON_FILE}")
/usr/bin/plutil -replace "app_${GOOGLE_APP_ID//:/_}" -json "${JSON}" "$HOME/Library/Preferences/com.google.SymbolUpload.plist"
"${PODS_ROOT}"/FirebaseCrash/upload-sym
Run Code Online (Sandbox Code Playgroud)

谢谢

编辑:

在firebase上,我有:

上传符号文件以表示UUID 68FD2AAC-F8A7的未来堆栈跟踪 - ***********

我认为这个问题与符号文件有关如何解决这个问题?

编辑2:

我试过"dwarfdump --uuid /path/to/your/build/area/MyApp.app/MyApp",但我无法检索到这个UUID ......

gha*_*shi 2

您找到问题的答案了吗?

您的脚本似乎与Firebase 文档今天(2016 年 9 月 18 日)推荐的脚本略有不同。

你试过这个吗?

# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=1:my:app:id

# Replace the /Path/To/ServiceAccount.json with the path to the key you just downloaded
"${PODS_ROOT}"/FirebaseCrash/upload-sym "/Path/To/ServiceAccount.json"
Run Code Online (Sandbox Code Playgroud)