It is probably because of an earlier version of ios-deploy
, as it is described here.
Check your version of ios-deploy, mine was 1.0.8:
$ ios-deploy --version
Check npm version of ios-deploy, current is 1.1.0:
$ npm info ios-deploy version
Update ios-deploy via npm:
$ sudo npm update -g ios-deploy
After $ cordova run
you can now type exit
and press ENTER. After this, type y
and press ENTER to exit the process.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…