-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
PhaseScriptExecution fails for Hermes Engine after install of react-native-reanimated #6333
Comments
Hi there, I've reproduced a simple example under https://github.com/mstohr1975/ReanimateTest. In effect, it is set up with the latest Salesforce Mobile SDK React Native vanilla TypeScript project from https://developer.salesforce.com/docs/platform/mobile-sdk/guide/react-native-intro.html which is located here: https://github.com/forcedotcom/SalesforceMobileSDK-Templates/tree/dev/ReactNativeTypeScriptTemplate.
The following build commands failed: |
Forgot one point, I've commented a post install in Podfile which generated another build error: #React native post install It will generate following error when installing Pods with pod install: Downloading dependencies no implicit conversion of nil into String /Users/mstohr/Documents/ReanimateTest/node_modules/react-native/scripts/cocoapods/utils.rb:129:in |
This usually fixes it for me:
If that still doesn't work, clear the derived data and rebuild |
Thx, will check next days and get back to you |
I tried it in different ways, but did not succeed. First of all, I do not overcome the error when installing the pods given, I always have to comment following part in Podfile to prevent the error explained above. This only happens after I install the react-native-reanimated package #React native post install But more importantly, I've cleaned cache for all pods and rebuild as follows:
And still get the same error message: The following build commands failed: See GitHub repository after removing .xcode.env.local: https://github.com/mstohr1975/ReanimateTest |
@mstohr1975 |
Ah, sorry, forgot to mention it...yes, I deleted the DerivedData folder. Same error...by the way, pod install will recreate the .xcode.env.local file...that's why I deleted it afterwards. I also tried rm -rf ~/Library/Developer/Xcode/DerivedData/ Still the same error... |
What is the config in your |
Many thanks. Let me check this coming week...I'll get back to you. |
We validated the NODE_BINARY path directs to the latest node.js version: export NODE_BINARY=/usr/local/bin/node. That seems not the issue either. Thx for your help anyways. |
Thx for your feedback, we'll test it. |
The following build commands failed: Facing issue since a week now |
Also facing the same issue. Did you manage to resolve this? |
Yes, we did...as mentioned above. Let me know if this helps, otherwise we're happy to support. |
I'm using expo eas to to do the building so I don't believe I can get access to the xcode.env.local file. |
what helped me is: and then inside of .xcode.env I wrote next: |
Description
I've reproduced an issue, whenever I install with npm install react-native-reanimated, then reinstall the pods with cd ios && pod install && cd .. and build the app with npx react-native run-ios I run into an error on Hermes Engine:
PhaseScriptExecution [CP-User]\ [Hermes]\ Replace\ Hermes\ for\ the\ right\ configuration,\ if\ needed /Users//Library/Developer/Xcode/DerivedData/
/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/hermes-engine.build/Script-46EB2E0001CA80.sh (in target 'hermes-engine' from project 'Pods')(1 failure)
Same project before installing reanimated builds perfectly fine, I reproduced it a couple times. Any thoughts how to overcome this? Many thx
Steps to reproduce
Snack or a link to a repository
happy to share later
Reanimated version
3.14.0
React Native version
0.73.6
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: