简体   繁体   English

添加 Firebase iOS SDK(4.3.0 或更高版本)

[英]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.

相关问题 如何在没有X的Flutter中为ios添加firebase SDK - 代码 - How to add firebase SDK for ios in Flutter without X - Code 插件firebase_database需要更高的版本 Android SDK - The plugin firebase_database requires a higher Android SDK version 警告:插件 firebase_storage 需要 Android SDK 版本 31。一个或多个插件需要更高版本 Android SDK - Warning: The plugin firebase_storage requires Android SDK version 31. One or more plugins require a higher Android SDK version 有没有办法可以将电话号码的用户添加到 firebase admin sdk - Is there a way I can add users with phone number to firebase admin sdk 当我添加 firebase ZEAE18BC41E1434DD98FA2DD989531DAZ8 时 javascript function 不工作 - javascript function is not working when i add firebase sdk i 将 Firebase Analytics 和 Crashlytics 添加到具有多个方案的 iOS 项目 - Add Firebase Analytics and Crashlytics to iOS project with multiple schemes Swift Package 未版本化包的管理器问题(例如:firebase-ios-sdk) - Swift Package Manager issues with unversioned Packages (example: firebase-ios-sdk) 如何将 Firebase SDK 版本 9 添加到 Service Worker Chrome 扩展清单版本 MV3? - How to add Firebase SDK version 9 to a Service Worker Chrome Extension Manifest Version MV3? 无法为我的应用程序(SDK Android 5.0)的通知添加 Firebase FCM。 为什么? - Can't add Firebase FCM for notifications on my app (SDK Android 5.0). Why? 如何在我的 web 应用程序中添加 Firebase 应用程序检查 SDK? - How do I add the Firebase app check SDK in my web app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM