You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/23 10:17:55 UTC

[GitHub] [cordova-ios] lwpamihiranga edited a comment on issue #686: Unable to find a destination matching the provided destination specifier

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org