sentry_flutter 7.11.0
报错
3 errors in SentryCrashMonitor_CPPException with the errors No type named 'terminate_handler' in namespace 'std' (line 60) and No member named 'set_terminate' in namespace 'std'
替换sentry_flutter版本为:
8.3.0
从而保证oc的sentry升级到8.27.0以上
资料参考:
https://github.com/getsentry/sentry-cocoa/issues/4052https://github.com/getsentry/sentry-cocoa/issues/4050
查看sentry-dart的podspec文件历史
https://github.com/getsentry/sentry-dart/commits/main/flutter/ios/sentry_flutter.podspec