Getting "No target specified for emulator. Deploying to undefined simulator Device type "com.apple.CoreSimulator.SimDeviceType.undefined" could not be found." error while running Phonegap project using XCode 9/iOS 11. Has anyone got workaround?
Asked
Active
Viewed 1,402 times
1 Answers
6
Update cordova to 4.5.0
cordova plugin save
npm install -g cordova
cordova platform rm ios
cordova platform add ios@4.5.0
cordova plugin remove cordova-plugin-console
Yes… cordova plugin console is now deprecated and needs to be removed. You will get here the details

Flavien Volken
- 19,196
- 12
- 100
- 133
-
worked for me without the last command: 'cordova plugin remove cordova-plugin-console' – Sebastien Horin Sep 28 '17 at 13:48