Closed techamit95ch closed 1 year ago
:warning: | Too Old Version of React Native |
---|---|
:information_source: | It looks like your issue or the example you provided uses a Too Old Version of React Native. Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
any fix for this issue? same issue here @techamit95ch
You need to apply the same export NODE_OPTIONS=--openssl-legacy-provider
that fixed react-native run-ios
to the Xcode shell. You can add this to the "Bundle react native code and images" section under the Build Phases tab.
@patmisch Thanks is not enough, you really saved my day, working like a charm
Description
Hi I am using
react native@0.67.5
, it's an old project, but officially it's runningand I am continuously getting this error.
I have reinstalled project several times, cleared node modes several time
I google tried to find solution although , there I found I have to add
export NODE_OPTIONS=--openssl-legacy-provider
in~/.bashrc
and~/.zshrc
, Which I did. It worked forreact-native run-ios
andreact-native run-android
but when I am trying to
build
fromXcode
or I am trying toarchive
project for test flight I am getting previous error againI am facing this issue for several day's , but 3month earlier I was't getting this type of issue
React Native Version
0.67.5
Output of
npx react-native info
System: OS: macOS 13.4.1 CPU: (8) arm64 Apple M1 Pro Memory: 85.23 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.17.0 - /opt/homebrew/opt/node@18/bin/node Yarn: 3.6.1 - ~/node_modules/.bin/yarn npm: 9.6.7 - /opt/homebrew/opt/node@18/bin/npm Watchman: 2023.07.24.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: API Levels: 23, 29, 30, 31, 32, 33 Build Tools: 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-30 | Intel x86 Atom_64, android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-31 | Intel x86 Atom_64, android-32 | Google APIs ARM 64 v8a, android-32 | Google APIs Intel x86 Atom_64, android-32 | Google Play ARM 64 v8a, android-32 | Google Play Intel x86 Atom_64, android-33 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8139111 Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild Languages: Java: 11.0.20 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.67.5 => 0.67.5 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
react-native run-ios
is working after I have added export NODE_OPTIONS=--openssl-legacy-provider in ~/.bashrc and ~/.zshrc.Snack, screenshot, or link to a repository
and it's private project can share more details..