Skip to main content

Mobile nmp warning/CI build/local build failure

Updated over a month ago

Issue

I'm experiencing one of these:

  • I’m encountering an issue where my CI builds for my mobile app are failing, and the logs indicate that the failure is related to the Sentry SDK.

  • I recently installed the Sentry SDK in our mobile project, and now I’m unable to build the project locally.

  • I’m working on a React Native project and after updating our dependencies, I started getting a warning from npm regarding the Sentry SDK

  • I attempted to install sentry-react-native in my project, but npm stopped after showing a warning about the SDK using a deprecated version of sentry-cocoa.

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Mobile SDKs using sentry-cocoa directly or under the hood (sentry-dart, sentry-react-native)

Resolution

Due to a bug introduced on sentry-cocoa 8.33.0, we have deprecated the following Mobile SDK releases that use sentry-cocoa 8.33.0 or 8.34.0. This may cause the aforementioned problems.

Please upgrade to the recommended upgrade versions (after the ->):

  • Using 8.33.0

    • sentry-cocoa 8.33.0 -> 8.35.0+

    • sentry-dart 8.7.0 -> 8.8.0+

    • sentry-react-native 5.28.0 -> 5.31.0+

    • sentry-react-native 5.29.0 -> 5.31.0+

  • Using 8.34.0

    • sentry-cocoa 8.34.0 -> 8.35.0+

    • sentry-react-native 5.30.0 -> 5.31.0+

You can learn more about why we deprecated these versions here.

Did this answer your question?