[英]Unreadble errors with Firebase Crash Reporting on ios (Symbol files)
我正在使用 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
這是firebase或蘋果錯誤的問題嗎?
在我的項目的構建階段中,我有這個腳本:
# Replace this path with the path to the key you just downloaded
JSON_FILE=/*****/TPC_Swift/TPC_swift/TPC_swift/Project-*****.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
謝謝
編輯 :
在firebase上,我有:
上傳符號文件以符號化 UUID 68FD2AAC-F8A7-*********** 的未來堆棧跟蹤
我認為問題與符號文件有關如何解決?
編輯 2:
我試過“dwarfdump --uuid /path/to/your/build/area/MyApp.app/MyApp”,但我無法檢索到這個 UUID...
面對同樣的問題,這是我從firebase-support@google.com得到的:
感謝您的等待。 您能否檢查以下項目並查看它是否有效:
重置您的 OAuth 憑據,運行以下命令:
rm $HOME/Library/Preferences/com.google.SymbolUpload*
創建新的服務帳戶並確保它具有編輯權限將您的腳本修改為以下格式:
# 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"
請確保您的應用 id 和 json 文件路徑正確。 我希望這有幫助。 如果您有其他顧慮,請告訴我。
您找到問題的答案了嗎?
您的腳本似乎與今天(2016 年 9 月 18 日) Firebase 文檔中推薦的腳本略有不同。
你試過這個嗎?
# 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"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.