I have recently upgraded my react native project from 0.62 to 0.68. New Architecture set up has be implemented in android and the code is working fine. But when i try to upgrade the new architectural changes for iOS, but code doesn't run at all. Everytime i get
Command PhaseScriptExecution failed with a nonzero exit code
FBReactNativeSpec.build/Script-46EB2E00014D80.sh
React-Native documentation https://reactnative.dev/docs/next/new-architecture-app-intro isn't helping me at all in building my ios code.
I have tried creating new react native sample projects, but even those projects are also not working with latest architectural changes.
I have tried all the solutions out there.
Can anyone please help me in the upgradation steps for iOS.
If anyone facing the FBReactNativeSpec issue with latest react native version 0.68 after upgrade, comment this line from node_modules > react-native > scripts > find-node.sh
Code started working after it. Also please do check your .bashprofile and .zrsh profile remove nvm path if found from these files also.
Good Luck