rollbar-flutter icon indicating copy to clipboard operation
rollbar-flutter copied to clipboard

v1.5.0 (latest) no longer works on Xcode 18

Open timothyrobb opened this issue 5 months ago • 3 comments

Using the latest released version of Xcode, v18, and using the latest version of rollbar_flutter, v1.5.0, we get compiler errors.

/<project_dir>/ios/Pods/RollbarCrash/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp:66:13: error: no type named 'terminate_handler' in namespace 'std'
    66 | static std::terminate_handler g_originalTerminateHandler;
      |        ~~~~~^
/<project_dir>/ios/Pods/RollbarCrash/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp:219:47: error: no member named 'set_terminate' in namespace 'std'
  219 |             g_originalTerminateHandler = std::set_terminate(CPPExceptionTerminate);
      |                                          ~~~~~^
/<project_dir>/ios/Pods/RollbarCrash/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp:223:18: error: no type named 'set_terminate' in namespace 'std'
  223 |             std::set_terminate(g_originalTerminateHandler);
      |             ~~~~~^
image

This makes the package and service entirely unusable for any project that uses the latest version of Xcode.

I know this package is barely maintained, if ever. But if this isn't patched shortly, you're going to find almost every user of this package disappearing over a few months and using another service entirely.

timothyrobb avatar Sep 17 '24 08:09 timothyrobb