react native:Command /bin/sh failed with exit code 1 报错解决

前端之家收集整理的这篇文章主要介绍了react native:Command /bin/sh failed with exit code 1 报错解决前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

react-native init ymtest1

打开xcode 运行后,报错:Command /bin/sh Failed with exit code 1

1. 选中项目 -> TARGETS->Build Phases-> “Bundle react Native code and images”

2.勾选 “Run script only when installing”

猜你在找的React相关文章