我最近将我的React Native项目从0.62升级到0.68。新的架构设置已在Android中实现,并且代码正常工作。但是,当我尝试升级iOS的新架构更改时,代码根本不会运行。每次我收到
Command PhaseScriptExecution failed with a nonzero exit code
FBReactNativeSpec.build/Script-46EB2E00014D80.sh
反应文档在构建iOS代码方面根本没有帮助我。
我曾尝试过创建新的React本地示例项目,但即使这些项目也无法与最新的架构更改一起使用。
我尝试了所有解决方案。
任何人都可以在iOS的升级步骤中帮助我。
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.
发布评论
评论(1)
如果有人在升级后面对最新的React Native版本0.68,面对FBreActnationsPec发行,请评论Node_modules> gt; gt;反应本地>脚本> find-node.sh
代码之后开始工作。另外,如果还从这些文件中找到,请检查您的.bashprofile和.zrsh配置文件删除NVM路径。
祝你好运
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