npx react-native run-ios --configuration Release error if :hermes_enabled => true
See original GitHub issueDescription
If we activate Hermes for iOS :hermes_enabled => true after clean up pod folder, delete Podfile.lock and run again pod install. If we try to run npx react-native run-ios --configuration Release we get the issue bellow, everything works in debug mode and also everything works if we :hermes_enabled => false.

React Native version:
System:
OS: macOS 11.2.3
CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Memory: 62.48 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.18.4 - /usr/local/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 6.14.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /Users/felipesantos/.rvm/gems/ruby-2.7.0/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 22, 23, 25, 26, 27, 29
Build Tools: 23.0.1, 24.0.1, 25.0.0, 25.0.2, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2
System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_265 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.0 => 0.64.0
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps To Reproduce
- upgrade to RN 0.64.0
- delete
node_modulesandPodfolder, deletePodfile.lockandyarn.lockfiles - execute
yarn install - execute pod install
- open xcode and Clean Build Folder
- build app on xcode
- if previous steps was successfully executable run
npx react-native run-ios --configuration Release
Expected Results
- Build successfully
- A
Library/Developer/Xcode/DerivedData/something/Build/Products/Release-iphonesimulatorfolder, should be created with afile.appon it. That file is a release variant and we can drag and drop it on a simulator.
Snack, code example, screenshot, or link to a repository:
N/A
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
[SOLVED] React Native 0.70.0 iOs fresh project errors out on ...
Hi @kelset The repro steps are. npx react-native init testproject then cd testproject && npx react-native run-ios or even building with in ...
Read more >Using Hermes - React Native
React Native comes with a bundled version of Hermes. ... npx react-native run-ios --configuration Release ... + :hermes_enabled => true
Read more >Run a React Native iOS release build from terminal
If you want run your project on a real device use --device parameter: npx react-native run-ios --configuration Release --device "Your Device Name".
Read more >React native build failure | Apple Developer Forums
npx react -native run-ios. I get the error: error Failed to build iOS project. We ran "xcodebuild" command but it exited with error...
Read more >Using Hermes in React Native - LogRocket Blog
New in React Native 0.64: Hermes support for iOS ... The release of React Native 0.64's announcement came with drop-in support for Android...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s happening only with Hermes new to 0.64… Also if we deactivate Hermes on 0.64 it works fine
iOs only got Hermes support in .64 https://reactnative.dev/docs/hermes#ios