问题
I am trying to integrate with Firebase Crashlytics.
I added the run scripts as described here. then installed the pods:
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
I configured the Firebase APIs:
FirebaseApp.configure()
I ran the app. the messages on the console seems to be ok.
But when I open the Crashlytics tab in the firebase console. I only get the message in the question title.
This is what I have in my Podfile.lock
:
- Firebase (6.33.0):
回答1:
Add the dSYM to the debug file the Debug mode.
dSYM (Debug Symbolification) is needed to reverse symbolication of the code in crash.
Message states that you need to crash your app. Add the crash code on an event not on an app launch:
fatalError()
Note: Crashes doesn't get reported:
- If Xcode is connected to the app.
- Its only get reported in the next app launch.
Steps:
- Run the app using Xcode.
- Disconnect it from Xcode by clicking stop.
- Re-launch the App manually.
- Crash your app.
- Re-launch it so the crash get reported.
Info. gathered from api docs.
来源:https://stackoverflow.com/questions/64146933/add-the-firebase-ios-sdk-4-3-0-or-higher-or-unity-plugin-6-15-0-or-higher-t