After updating to the cli v 3.12.0 if I try to run my app in the simulator with the following command ionic cordova emulate ios --target="iPhone-8" -l -c
the app builds correctly, the simulator show up but (i guess) the process could no be attached to it, and therefore this error occurs:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
If I try to run the app from xcode (9.0 (9A235)) it builds and runs smoothly in the iPhone 8 Simulator.
I tried to change device target ( I tried the iPhone 7 / 7 plus / 8 / 8 plus / X ) with no success.
I run OSX Sierra on a late 2013 MBP.
furthermore I tried all the above in a fresh app with no success.
edit.
Nevermind. google did the trick.
for who is interested in how to update sudo npm install -g cordova npm install @ionic/app-scripts@latest
and you’re good to go.
The issue “solved” itself by updating the cli, it came back another couple of times by updating the cli.
I never found the actual cause though. So if anybody finds it, I’d be more than glad to hear about it.