示例项目:https://github.com/mike011/CrashlyticsDelegateExample重现步骤:创建一个新的Swift项目通过Podfile添加Crashlytics并确保使用use_frameworks!已上市创建以下扩展:extensionAppDelegate:CrashlyticsDelegate{funccrashlyticsDidDetectReport(forLastExecutionreport:CLSReport){}}添加一个ObjectiveC++文件。将以下导入添加到新文件#import#import"CrashlyticsSamp