infinitered / reactotron

A desktop app for inspecting your React JS and React Native projects. macOS, Linux, and Windows.
https://docs.infinite.red/reactotron/
MIT License
14.89k stars 944 forks source link

Version 5.1.9 iOS release builds failing on old architecture #1513

Open jerinjohnk opened 3 days ago

jerinjohnk commented 3 days ago

Describe the bug

After upgrading the package from 5.1.8 to 5.1.9 and creating a release build on iOS, the build is created and installed on the simulator. But as soon as it opens, it crashes without any error logs. Xcode reports failed to load the app. Downgrading it fixes the issue.

"react-native": "0.75.4",

Even though reactotron has been added as a dev dependency with the following check before initialization.

if (__DEV__) {
  // eslint-disable-next-line global-require
  require('@redux/ReactotronConfig');
}

This shouldn't be causing any problems in the release build.

Earlier, I thought it might be as the following file DevMenu = require("react-native/Libraries/NativeModules/specs/NativeDevMenu") doesn't get bundled up in the release build.

Reactotron version

5.1.9

jerinjohnk commented 1 day ago

No, it's not using expo. But has been upgraded to the latest version of react native.

On Fri, Oct 18, 2024 at 11:07 PM Frank Calise @.***> wrote:

@jerinjohnk https://github.com/jerinjohnk are you using Expo Go?

— Reply to this email directly, view it on GitHub https://github.com/infinitered/reactotron/issues/1513#issuecomment-2422943575, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6TGEEI2JBFI46LHIDGOLZ4FBO3AVCNFSM6AAAAABQCID2MWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSHE2DGNJXGU . You are receiving this because you were mentioned.Message ID: @.***>