weex社区Weex开发Weex工匠

weex run ios 报错 /bin/sh: pod: co

2018-09-27  本文已影响0人  广州小单纯

18:01:52: pod update18:01:52: Hot Reload socket: ws://136.187.82.187:8080/bin/sh: pod: command not found18:01:52: Command run error, please checkifthere has the same issue here: https://github.com/weexteam/weex-toolkit/issues/33718:01:52: Error:Error: Command failed: pod update/bin/sh: pod: command not found at ChildProcess.exithandler(child_process.js:275:12) at emitTwo (events.js:126:13) at ChildProcess.emit(events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Socket.stream.socket.on(internal/child_process.js:346:11) at emitOne (events.js:116:13) at Socket.emit(events.js:211:7) at Pipe._handle.close[as _onclose] (net.js:557:12)

上面是报错,查了github,说是没有安装cocopods

github截图

点进去doc发现就是readme。。。

直接百度安装cocopods吧。发现cocopods是基于ruby安装的,mac自带ruby,就直接安装了

sudo gem install cocoapods

然后在运行weex run ios就OK了

weex run ios

weex run ios运行截图

顺手吐槽一波公司这破网速...3K/s我是服的。。

上一篇下一篇

猜你喜欢

热点阅读