xcode-install icon indicating copy to clipboard operation
xcode-install copied to clipboard

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

Open andrewhavens opened this issue 4 years ago • 1 comments
trafficstars

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 avatar Aug 26 '21 17:08 andrewhavens

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

andrewhavens avatar Aug 26 '21 18:08 andrewhavens