[英]Add the Firebase iOS SDK (4.3.0 or higher)
I am trying to implement Crashlytics as per Firbase doc.我正在尝试根据 Firbase 文档实施 Crashlytics。
https://firebase.google.com/docs/crashlytics/get-started https://firebase.google.com/docs/crashlytics/get-started
All Steps performed:执行的所有步骤:
Installed Pods:已安装的 Pod:
pod 'Firebase/Crashlytics' pod 'Firebase/Analytics' pod 'Firebase/Crashlytics' pod 'Firebase/Analytics'
In App Delegate:在应用程序委托中:
import Firebase
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
return true
}
Added Runscript:添加运行脚本:
"${PODS_ROOT}/FirebaseCrashlytics/run"
Tried adding this as well:也尝试添加这个:
${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)
But Still When i am trying to see crash report after clicking Add Sdk in Firebase it is always showing me:但是,当我在 Firebase 中单击添加 Sdk 后尝试查看崩溃报告时,它总是显示:
I am stuck here.我被困在这里了。
I have also tryied few more steps like: > Changing Debug Information Format to "Drawft with DSYM file" (debug and release both) in build setting.我还尝试了更多步骤,例如: > 在构建设置中将调试信息格式更改为“使用 DSYM 文件绘制”(调试和发布两者)。 > Cleaning project > 保洁工程
> Reinstalled pods
> Restart My mac
> Deleting Derived data
> Deleted app and reinstalled in multiple Simulators
> Taken ref from below url
Add the Firebase iOS SDK (4.3.0 or higher) or Unity Plugin (6.15.0 or higher), then build, run, and crash your app 添加 Firebase iOS SDK(4.3.0 或更高版本)或 Unity 插件(6.15.0 或更高版本),然后构建、运行并使您的应用程序崩溃
Any help will be really appreciated.任何帮助将不胜感激。 Thanks谢谢
I installed app to iPhone and simulator both and disconnect from debug mode and launched 5-6 times.我在 iPhone 和模拟器上都安装了应用程序,然后从调试模式断开连接并启动了 5-6 次。 it solved problem它解决了问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.