Raymond Camden created CB-12287:
-----------------------------------

             Summary: Issues with default simulator target
                 Key: CB-12287
                 URL: https://issues.apache.org/jira/browse/CB-12287
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 6.4.0
            Reporter: Raymond Camden


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to