我正在使用 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 或 apple 错误的问题吗?
在我的项目的构建阶段中,我有这个脚本:
# 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
谢谢
EDIT :
在 firebase 上,我有:
上传符号文件以符号化 UUID 的未来堆栈跟踪
68FD2AAC-F8A7-************
我认为问题与符号文件有关
如何解决这个问题?
EDIT 2 :
我尝试了“dwarfdump --uuid /path/to/your/build/area/MyApp.app/MyApp”
但我无法检索到这个 UUID...
面对同样的问题,这就是我得到的[电子邮件受保护] /cdn-cgi/l/email-protection:
感谢您的等待。您能检查一下以下项目并看看它是否有效:
重置您的 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 文件路径正确。
我希望这有帮助。如果您还有其他问题,请告诉我。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)