Troubleshooting

This documentation is for the original BugSnag React Native SDK. We recommend upgrading to the React Native package that is now part of the Universal JavaScript SDK using our Upgrade guide. Documentation for the latest release can be found here.

Native module not found

If the app builds but an error appears indicating the “BugsnagReactNative” module was not found, or if the app fails to build indicating an error containing “libz”, verify that the native components of iOS has linked correctly during react-native link:

  1. Open Xcode
  2. Select your project name
  3. Select your app target and the Build Phases tab
  4. Locate libBugsnagReactNative.a and libz.tbd in Link Binary with Libraries, or add them if needed using the + button.

BugSnag in linked libraries in Xcode