Crashalytics not working for xcode 10, iOS12

末鹿安然 提交于 2019-12-10 10:48:02

问题


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:

  1. Go to Build Settings
  2. Search "Debug Information Format"
  3. Change value of "Debug" from "DWARF" to "DWARF with dSYM File"
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!