Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulators do not appear to be installed after a "successful install" #442

Open
andrewhavens opened this issue Aug 26, 2021 · 1 comment

Comments

@andrewhavens
Copy link

andrewhavens commented Aug 26, 2021

I am running Xcode 13 beta 5. I tried installing some older, iOS 11.4 simulators:

xcversion simulators --install='iOS 11.4'

It completes successfully. xcversion simulators says that it was installed:

iOS 11.4 Simulator (installed)

Xcode does seem to be aware that the iOS 11.4 simulators were installed:
Screen Shot 2021-08-26 at 10 56 33 AM

However, xcrun simctl list does not show any 11.4 simulators:

...
== Devices ==
-- iOS 11.4 --
-- iOS 15.0 --
    iPhone 8 (ED680A86-07C3-4BBB-9C5C-F13217B57E97) (Shutdown) 
    iPhone 8 Plus (9517AFD7-7D69-4517-BC22-F94A4F3AC7F9) (Shutdown) 
...

If I try running the install command again, I get an error that they are already installed:

[!] iOS 11.4 Simulator is already installed.

What should I do?

@andrewhavens
Copy link
Author

Maybe I was mistaken to assume that xcode-install would automatically create the simulators after the install command. I was able to manually create a simulator with this command:

# xcrun simctl create [name] [device] [runtime]
xcrun simctl create 'iPhone 8 (iOS 11.4)' 'iPhone 8' com.apple.CoreSimulator.SimRuntime.iOS-11-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant