Troubleshooting

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