lwpamihiranga edited a comment on issue #686:
URL: https://github.com/apache/cordova-ios/issues/686#issuecomment-662927505
_I also posted this in the above mentioned StackOverflow question as an
answer_
You can use solve this issue by sending the device name as a `buildFlag`
If you are using **cordova** use below command
cordova build ios --buildFlag="-destination platform=iOS
Simulator,name=iPad Pro (11-inch)"
For me, I was using this in an **Ionic** project.
ionic cordova build ios -- --buildFlag="-destination platform=iOS
Simulator,name=iPad Pro (11-inch)"
You can choose any device name you want from the list **Available
destinations** listed in your error
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]