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以上

资料参考:

Xcode 16 'terminate_handler' issue · Issue #4052 · getsentry/sentry-cocoa · GitHubCan't build with Xcode 16.0 Beta 1 · Issue #4050 · getsentry/sentry-cocoa · GitHub

查看sentry-dart的podspec文件历史

https://github.com/getsentry/sentry-dart/blob/main/flutter/ios/sentry_flutter.podspec

 



https://github.com/getsentry/sentry-dart/commits/main/flutter/ios/sentry_flutter.podspec

 

更多推荐