New iONIC CLI give me a error when I run the "ionic run --device" command

Hi.

Today just update the CLI version and when I start a new ionic project, and launch the command:

“ionic run ios --device”

I have this error message:

ERROR running one or more of the platforms: Error: /PATH_TO_APP/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project

Anywhere, if I launch this command in another project that I had before the update, I don’t have any problems…

What can I do?

Thanks and greetings

I recently ran into some issues after upgrading and this solved my problems…

ended up updating/re-installing ios-deploy

sudo npm install -g ios-deploy

2 Likes