Skip to content

Can't select simulators when multiple compatible Xcodes installed #98

@timsutton

Description

@timsutton
Collaborator

Trying install the iOS 8.4 sim when two compatible Xcodes are installed doesn't seem to allow me to select it at all:

➜  ~  xcversion simulators
Xcode 6.4 (/Applications/Xcode-6.4.app)
iOS 7.1 Simulator (not installed)
iOS 8.1 Simulator (not installed)
iOS 8.2 Simulator (not installed)
iOS 8.3 Simulator (not installed)
Xcode 7.1 (/Applications/Xcode-7.1.app)
iOS 8.1 Simulator (not installed)
iOS 8.2 Simulator (not installed)
iOS 8.3 Simulator (not installed)
iOS 8.4 Simulator (not installed)
iOS 9.0 Simulator (not installed)
Xcode 7.2 (/Applications/Xcode-7.2.app)
iOS 8.1 Simulator (not installed)
iOS 8.2 Simulator (not installed)
iOS 8.3 Simulator (not installed)
iOS 8.4 Simulator (not installed)
iOS 9.0 Simulator (not installed)
iOS 9.1 Simulator (not installed)
tvOS 9.0 Simulator (not installed)

➜  ~  xcversion simulators --install=8.4
[!] More than one simulator matching 8.4 was found. Please specify the full version.
Xcode 7.1.0 (/Applications/Xcode-7.1.app)
xcode-install candidate --install=8.4.1.1435785476
Xcode 7.1.0 (/Applications/Xcode-7.1.app)
xcode-install candidate --install=8.4.1.1435785476

Specifying a full version like:

xcode-install simulators --install=8.4.1.1435785476

doesn't actually work.

I'm also wondering, now that in 7.2 betas, we now have more than just iOS, we also have tvOS 9.0 as a "legacy" simulator. Any thoughts on switching to requiring the "full" names as is displayed in Xcode, like "iOS 8.1 Simulator" or "tvOS 9.0 Simulator"?

This would make the command work like:
xcversion simulators --install='tvOS 9.0 Simulator'

/cc @jpsim

Activity

jpsim

jpsim commented on Nov 20, 2015

@jpsim
Collaborator

Makes sense to me 👍

neonichu

neonichu commented on Nov 28, 2015

@neonichu
Collaborator

👍

added a commit that references this issue on Nov 28, 2015
539c96d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @neonichu@timsutton@jpsim

        Issue actions

          Can't select simulators when multiple compatible Xcodes installed · Issue #98 · xcpretty/xcode-install