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,native)