question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Could not get BatchedBridge, make sure your bundle is packaged correctly" since react-native 0.65 using Release schema

See original GitHub issue

Description

Since upgrading to react-native version 0.65, whenever building and starting the app on IOS, I receive an error saying “Could not get BatchedBridge, make sure your bundle is packaged correctly”. Whenever running on the Debug schema, the app successfully starts.

React Native version:

System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
    Memory: 60.82 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.19.0/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
    Watchman: 2021.06.07.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.2.2 4.2.2
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 14.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^17.0.2 => 17.0.2 
    react-native: ^0.65.0 => 0.65.0 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Upgrade to react-native 0.65
  2. Build IOS app with Release schema
  3. Start the app and wait for it to crash on startup

Notes

  • Hermes is enabled in the Podfile

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:23

github_iconTop GitHub Comments

6reactions
alexanderoskincommented, Aug 18, 2021

Same problem +

But the app successfully starts with :hermes_enabled => false in the Podfile. With enabled Hermes release schema crashes.

5reactions
captainDuckaycommented, Aug 27, 2021

Upgraded react-native-reanimated from 2.2.0 to 2.3.0-alpha.2 worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

error "Could not get BatchedBridge, make sure your bundle is ...
I ran manually the following command which the debug build command should have created ideally. node node_modules/react-native/local-cli/cli.js ...
Read more >
error "Could not get BatchedBridge, make sure your bundle is ...
Android : error " Could not get BatchedBridge, make sure your bundle is packaged properly " on start of app [ Beautify Your...
Read more >
ios Could not get BatchedBridge, make sure your bundle is ...
iOS : ios Could not get BatchedBridge, make sure your bundle is packaged properly [ Beautify Your Computer ...
Read more >
types/react-native/index.d.ts - UNPKG
288, * another native view, this will give you the absolute coordinates. If. 289, * successful, the callback will be called with the...
Read more >
å°'å¹´ç - bitverzo.com
The website does not have any flash contents. ... 13 14 15, 13, 0.65 %, No ... not get BatchedBridge, make sure your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found