更新时间:2023-01-05 20:00:30
从Xcode 10和iOS 12或更高版本向Fabric报告崩溃
To report crash to Fabric from Xcode 10 and iOS 12 or higher
第1步:
第2步:
在输入文件"中设置Info.plist的绝对路径-在构建阶段"下为Fabric添加的运行脚本中添加/更改输入文件"值-从"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"到新路径*"/Info.plist"
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"
*新路径:您还可以从构建设置->包装-> Info.plist文件中获取Info.plist路径
*new path: You can also get Info.plist path from Build Settings -> Packaging -> Info.plist File