Skip to content

iOS crash on launch after upgrade to 5.3.0 #2956

Closed
@bpeltonc

Description

@bpeltonc

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.3.0

react-native version: 0.66.3

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

Configuration:

(@sentry/react-native)

Sentry.init({
      dsn: SENTRY_DSN,
      environment: __DEV__ ? 'development' : 'production',
      enableAutoSessionTracking: AUTO_SESSION_TRACKING,
      sessionTrackingIntervalMillis: SESSION_TRACKING_INTERVAL_MS,
      integrations: [
        new Sentry.ReactNativeTracing({
          tracingOrigins: ORIGINS,
          routingInstrumentation,
        }),
      ],
      tracesSampleRate: SAMPLE_RATE,
    });
});

I have following issue:

After following the migration guide to upgrade my previous 3.1.x version to 5.3.0, iOS builds are crashing both in debug and release builds. Android is working fine, it appears. With a debug build, I get a log in my console as follows: "Native Client is not available, can't start on native." I tried including enableNative: false in my config, but still got the same result.

Steps to reproduce:

  • Upgrade from 3.1.1 to 5.3.0
  • Create debug build

Actual result:

Crash on app start

Expected result:

App works with no crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions