Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12287

Issues with default simulator target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.1, 6.4.0
    • cordova-ios@4.4.0
    • cordova-ios
    • None

    Description

      A few days ago I loaded up the XCode Devices menu and deleted a bunch of simulators. I wanted to get rid of old ones and try to get both Cordova and Ionic defaulting to a modern simulator. I didn't delete everything of course, but I did delete a bunch.

      Now I am unable to emulate. When I make a vanilla project, add ios (version is 4.3.1) and do cordova emulate ios, i get:

      xcodebuild: error: Unable to find a destination matching the provided destination specifier:

      { platform:iOS Simulator, OS:latest, name:iPhone 5s }

      The requested device could not be found because no available devices matched the request.

      Available destinations for the "HelloCordova" scheme:

      I can't even target another emulator. If I open the xcodeproj file though I can run it just fine from XCode.

      I noticed that /cordova/lib/start-emulator has this:

      DEFAULT_TARGET="iPhone 5s"

      I don't know why. I tried changing it, just for the heck of it, and I still get the same error.

      So... any ideas?

      Attachments

        Issue Links

          Activity

            People

              kerrishotts Kerri Shotts
              cfjedimaster Raymond Camden
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: