问题
Crashlytics does not report crash event to Fabric for Xcode 10 or higher and iOS 12 or higher.
回答1:
To report crash to Fabric from Xcode 10 and iOS 12 or higher
Step 1:
- Go to Build Settings
- Search "Debug Information Format"
- Change value of "Debug" from "DWARF" to "DWARF with dSYM File"
- Build your project again.
Step 2:
Set absolute path of Info.plist in "Input Files" - Add/Change "Input Files" value in Run Script added for Fabric under "Build Phases" - From "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)" To new path* "/Info.plist"
*new path: You can also get Info.plist path from Build Settings -> Packaging -> Info.plist File
来源:https://stackoverflow.com/questions/53852777/crashalytics-not-working-for-xcode-10-ios12