I created a cordova project using cordova create project hello com.hello Hello.
And added iOS platform using cordova platform add iOS.
And
Updating the ios-sim version with npm install ios-sim@latest didn't worked for me. But if found a nice and easy solution on Github.
/platforms/ios/cordova/node_modules/ios-sim/src/lib.jsdeviceName with your code editorname_id_map[ deviceName ] with name_id_map[filterDeviceName(deviceName)]You can find the Github post here