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 2021/05/14 19:32:22 UTC

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

lostdaryl commented on issue #686:
URL: https://github.com/apache/cordova-ios/issues/686#issuecomment-841458518


   > We're having the same issue with an Ionic app using cordova. But once the app code is transpiled and the build directory is ready it can be built and run from xcode. Not exactly slick, but at least we can continue working.
   
   Yes exactly.This did the trick for me.
   
   **1) sudo ionic cordova platform rm ios
   2) sudo ionic cordova platform add ios@5.1.1
   3) sudo ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"**
   
   When you do 3rd step as @vargtimmen mentioned **build fails after transpile**.
   
   **Then open project from Xcode and select Generic devices and build.Then you can run on any device.**
   
   Thanks @vargtimmen you saved my day.
   


-- 
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