同事的程序,用我自己的x-code打开,结果报错Command /bin/sh failed with exit code 126,右键报错,如图:

百度后得知需要cocopods执行代码pod install或者pod update;发现前者无效后执行后者,这时x-code报错没有消除,但是发生了变化,如图:

查看pods文件夹发现JCore版本为1.1.5.,如图:

按照百度办法,各种不行,最后实在没办法了,乱点出奇迹:

双击后发现JCore版本为--1.1.1,改为1.1.5后,x-code报错消失

网友评论