简体   繁体   English

失败的IOS Build React Native

[英]Failed IOS Build React Native

I downloaded a branch from my github project and when I run the simulator, it runs but the app displays this error. 我从我的github项目下载了一个分支,当我运行模拟器时,它运行但应用程序显示此错误。

I have already tried removing the build folder and re running it and I have done npm install when the error displays and running "react-native run-ios". 我已经尝试删除build文件夹并重新运行它,当错误显示并运行“react-native run-ios”时,我已经完成了npm install。 I don't know what to do. 我不知道该怎么办。

在此输入图像描述 在此输入图像描述 在此输入图像描述

Open additional terminal in the same folder. 在同一文件夹中打开其他终端。 Run this command. 运行此命令。

react-native start --reset-cache react-native start --reset-cache

Once the package manager is ready, go back to your first terminal and run your app again. 包管理器准备就绪后,返回第一个终端并再次运行您的应用程序。

react-native run-ios 反应原生的run-ios

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM