cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-ios] lwpamihiranga edited a comment on issue #686: Unable to find a destination matching the provided destination specifier
Date Thu, 23 Jul 2020 10:17:55 GMT

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


Mime
View raw message