简体   繁体   中英

Add the Firebase iOS SDK (4.3.0 or higher)

I am trying to implement Crashlytics as per Firbase doc.

https://firebase.google.com/docs/crashlytics/get-started

All Steps performed:

Installed Pods:

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:

在此处输入图像描述

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. > 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

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. it solved problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM