【REACT NATIVE 系列教程之十】真机运行报错COMMAND /BIN/SH FAILED WITH EXIT CODE 1 的解决方法
来源:互联网 发布:淘宝更换类目有影响吗 编辑:程序博客网 时间:2024/05/21 08:47
本站文章均为 李华明Himi 原创,转载务必在明显处注明:
转载自【黑米GameDev街区】 原文链接: http://www.himigame.com/react-native/2315.html
转载自【黑米GameDev街区】 原文链接: http://www.himigame.com/react-native/2315.html
Himi最近在真机运行遇到 Command /bin/sh failed with exit code 1 的错误, 模拟器运行没有任何问题。此问题已解决,这里分享下解决方案。
先来看下错误日志,如下图:
主要是划线的部分:
1.PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images ……
2. Command /bin/sh failed with exit code 1
解决方法:
1. 选中项目 -> TARGETS->Build Phases-> “Bundle React Native code and images”
2.勾选 “Run script only when installing” ,如下图:
3.Clean 项目,重新运行即可。
0 0
- 【REACT NATIVE 系列教程之十】真机运行报错COMMAND /BIN/SH FAILED WITH EXIT CODE 1 的解决方法
- react native:Command /bin/sh failed with exit code 1 报错解决
- react native Command /bin/sh failed with exit code 1( at process._tickCallback (node.js:336:13))
- rn 踩坑系列 Xcode Command /bin/sh failed with exit code 1
- Xcode真机运行报错linker command failed with exit code 1 (use -v to see invocation)
- 真机编译错误:Command /usr/bin/codesign failed with exit code 1 解决方法
- 真机编译错误:Command /usr/bin/codesign failed with exit code 1 解决方法
- Xcode运行范例程序遇到的问题Command /bin/sh failed with exit code 1
- iOS项目从别处下载含有cocoapods的坑之Command /bin/sh failed with exit code 126
- Xcode报错: Command /bin/sh failed with exit code 1
- Xcode9报错Command /bin/sh failed with exit code 1
- Xcode9 归档(Archive)时报unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code
- "Command /usr/bin/codesign failed with exit code 1",真机调试出错解决办法
- [iPhone]command /usr/bin/codesign failed with exit code 1
- Error:Command /usr/bin/codesign failed with exit code 1
- xcode6 Command /usr/bin/codesign failed with exit code 1
- Command /usr/bin/codesign failed with exit code 1
- Command /usr/bin/codesign failed with exit code 1
- 【REACT NATIVE 系列教程之九】REACT NATIVE版本升级步骤与注意事项!
- apk信息查询
- eclipse 下搭建 maven项目。spring+springMvc+mybatise框架集成
- 如何用ppt做自我介绍
- iOS设计模式 - (4)策略模式
- 【REACT NATIVE 系列教程之十】真机运行报错COMMAND /BIN/SH FAILED WITH EXIT CODE 1 的解决方法
- hihoCoder1252 2015北京区域赛 D.Kejin Game
- C++编程(数组) 去除最大值和最小值,评委的平均分。
- 关于闭包的简单理解
- 单片机存储中的大小端模式
- K-means
- 【REACT NATIVE 系列教程之十一】插件的安装、使用与更新(示例:REACT-NATIVE-TAB-NAVIGATOR)
- Python Print的扩展
- 三层神经网络自编码算法推导和MATLAB实现