-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS][SDK 47] Fastlane Build Error | hermesc: No such file or directory #2104
Comments
same issue |
Same issue. What are the possible solutions? |
This fixed it for me https://docs.expo.dev/guides/using-hermes/#using-sdk-47-or-lower |
Fixed it for me too |
If you use hermes but still getting this error then don't forget to check |
any solution for react native cli ? |
I have the same issue with RN, not Expo. Anyone fixed this problem ? |
I am facing the similar issue on Appcenter CI. (Not using Expo) |
Try by removing xcode env |
Build/Submit details page URL
https://expo.dev/accounts/vince971/projects/QoQo/builds/db11ba58-35c3-4768-8a86-2ca47239abfd
Summary
Hello, expo team.
Since yesterday, I have a problem with building my project.
When performing the
eas build --platform iso --profile development
everything is working fine however, as soon as I run the commandeas build --platform iso
for production environment, I'm facing this error in the Fastlane job.P.S. In order to save some private info I put
redacted
in place of name of the app.❌ error: File /Users/expo/Library/Developer/Xcode/DerivedData/redacted-fmjntttqitbakgfigbgrlovuipuc/Build/Intermediates.noindex/ArchiveIntermediates/redacted/BuildProductsPath/Release-iphoneos/redacted.app/main.jsbundle does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/redacted-fmjntttqitbakgfigbgrlovuipuc/Build/Intermediates.noindex/ArchiveIntermediates/redacted/IntermediateBuildFilesPath/redacted.build/Release-iphoneos/redacted.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'redacted' from project 'redacted')
▸ (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
(1 failure)
Exit status: 65
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
npm: 9.6.3 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ~47.0.12 => 47.0.13
react: 18.1.0 => 18.1.0
react-dom: 18.1.0 => 18.1.0
react-native: 0.70.14 => 0.70.14
react-native-web: ~0.18.9 => 0.18.12
Expo Workflow: managed
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules use compatible support package versions for installed Expo SDK
Didn't find any issues with the project!
Error output
**In the Fastlane logs I have this: **
`The following build commands failed:
▸ PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/redacted-fmjntttqitbakgfigbgrlovuipuc/Build/Intermediates.noindex/ArchiveIntermediates/redacted/IntermediateBuildFilesPath/redacted.build/Release-iphoneos/redacted.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'redacted' from project 'redacted')
▸ (1 failure)
** ARCHIVE FAILED **`
**In the XCode logs I found this: **
+ /Users/expo/workingdir/build/ios/Pods/hermes-engine/destroot/bin/hermesc -emit-binary -O -out /Users/expo/Library/Developer/Xcode/DerivedData/redacted-fmjntttqitbakgfigbgrlovuipuc/Build/Intermediates.noindex/ArchiveIntermediates/redacted/BuildProductsPath/Release-iphoneos/redacted.app/main.jsbundle /Users/expo/Library/Developer/Xcode/DerivedData/redacted-fmjntttqitbakgfigbgrlovuipuc/Build/Intermediates.noindex/ArchiveIntermediates/redacted/BuildProductsPath/Release-iphoneos/main.jsbundle /Users/expo/workingdir/build/node_modules/react-native/scripts/react-native-xcode.sh: line 169: /Users/expo/workingdir/build/ios/Pods/hermes-engine/destroot/bin/hermesc: No such file or directory
Reproducible demo or steps to reproduce from a blank project
I don't have an easy way to provide a reproducible demo for this issue.
The text was updated successfully, but these errors were encountered: