Xcode 16 RC cannot choose iOS 18 RC simulator runtime

Hi all,

I'm trying to xcrun simctl runtime match set 'iphoneos18.0' 22A3351 but the status of xcrun simctl runtime match list never changes although I put this command correctly. No matter if I use sudo for match set or not.

This is quite serious for CI maintainer because multiple versions of Xcode should be switched quickly but this symptom will inhibit that kind of behavior.

What happened to Xcode 16 RC?

$ xcrun simctl runtime match set 'iphoneos18.0' --sdkBuild 22A3351
$ xcrun simctl runtime match list
== Evaluation Results ==
appletvos18.0:
    SDK Version: 18.0
    SDK Build: 22J355
    Platform: com.apple.platform.appletvos
    Chosen Runtime: tvOS 18.0 (18.0 - 22J356) - com.apple.CoreSimulator.SimRuntime.tvOS-18-0
        User Override: (null)
        Preferred: (null)
        Default: 22J355

iphoneos18.0:
    SDK Version: 18.0
    SDK Build: 22A348
    Platform: com.apple.platform.iphoneos
    Chosen Runtime: 22A348
        User Override: (null)
        Preferred: (null)
        Default: 22A348

watchos11.0:
    SDK Version: 11.0
    SDK Build: 22R349
    Platform: com.apple.platform.watchos
    Chosen Runtime: watchOS 11.0 (11.0 - 22R349) - com.apple.CoreSimulator.SimRuntime.watchOS-11-0
        User Override: (null)
        Preferred: (null)
        Default: watchOS 11.0 (11.0 - 22R349) - com.apple.CoreSimulator.SimRuntime.watchOS-11-0

xros2.0:
    SDK Version: 2.0
    SDK Build: 22N316
    Platform: com.apple.platform.xros
    Chosen Runtime: visionOS 2.0 (2.0 - 22N318) - com.apple.CoreSimulator.SimRuntime.xrOS-2-0
        User Override: (null)
        Preferred: (null)
        Default: 22N316

I'm adding what my mac mini has for simruntimes:

$ xcrun simctl runtime list
== Disk Images ==
-- iOS --
iOS 17.5 (21F79) - 9FC1CFB3-33A4-4F31-AF40-BAB448F6FA0D (Ready)
iOS 16.4 (20E247) - 3BFB66B1-075B-4B17-951C-B691BAC41C73 (Ready)
iOS 17.2 (21C62) - C8D4111F-1F7A-4FC2-AC6A-BF68A47EEDCE (Ready)
iOS 17.0.1 (21A342) - C4FE430B-DD3F-4108-B2E7-B13A04989863 (Ready)
iOS 17.4 (21E213) - 0B8ECC25-EF76-4744-9D77-8256A57D1605 (Ready)
iOS 18.1 (22B5023e) - 9E53F2C6-BA91-421C-848F-F78043179361 (Ready)
iOS 18.0 (22A5346a) - B109C80C-02AE-4756-AA8B-D7B3119BCF56 (Ready)
iOS 15.4 (19E240) - CAB77B36-B6D3-4F5D-8956-E7A3105AC910 (Ready)
iOS 18.0 (22A3351) - 836BEB86-745C-4558-BEE8-20ACB169047C (Ready)
-- tvOS --
tvOS 17.2 (21K364) - 8A9929AE-0521-498D-884A-F87BD16612CD (Ready)
tvOS 16.4 (20L494) - 3354C9A4-E177-4030-98F2-0735970E1607 (Ready)
tvOS 18.0 (22J356) - FC4F16A8-11F7-4E8D-BCC4-00264582E7FE (Ready)
tvOS 17.4 (21L224) - 724CD6DA-EAC2-4076-A578-C84872A36E5E (Ready)
tvOS 15.2 (19K50) - 0AE51520-B1E2-4ED9-80A4-717291FC5E96 (Ready)
tvOS 17.5 (21L569) - C432547A-F7EF-4B34-AD43-D3E839CB49E1 (Ready)
tvOS 17.0 (21J353) - 6A08D50B-D9BF-4496-A5C5-FE21373B11DD (Ready)
tvOS 18.0 (22J5352a) - A3DC22D2-CD19-4A79-8899-A3215D63D604 (Ready)
-- watchOS --
watchOS 10.4 (21T214) - CC71D3D3-EA19-4F0B-BF3E-388D686AB300 (Ready)
watchOS 10.0 (21R355) - 3623992D-88CF-41CB-8091-AF1F8CE16717 (Ready)
watchOS 11.0 (22R5346a) - D81CC18A-4FAF-43EF-9CF6-74740699DAED (Ready)
watchOS 10.2 (21S364) - C0666241-AA31-4CF7-98B9-EA5394331DC6 (Ready)
watchOS 9.4 (20T253) - EED82B11-589D-41AF-B290-844F59AECECB (Ready)
watchOS 10.5 (21T575) - 0D749B4E-DC69-4F27-8982-510AB985B822 (Ready)
watchOS 8.3 (19S51) - 8123ABC7-5465-4467-A5DA-CE9C50E1081D (Ready)
watchOS 11.0 (22R349) - 4109605C-3E15-47A9-9BE0-14CC387063D1 (Ready)
-- xrOS --
xrOS 2.0 (22N318) - A7B1B81D-EB9D-4417-9D37-48369A7F5AED (Ready)
xrOS 1.0 (21N305) - 29EAB8D4-160D-4A3B-AB7C-7325D205AC4C (Ready)
xrOS 1.1 (21O209) - DB15F0B2-C9E4-424D-9A50-8D6EDB131142 (Ready)
xrOS 2.0 (22N5314a) - 05720140-7387-43FC-9E5E-E4C109622659 (Ready)
xrOS 1.2 (21O5565d) - 83A26410-A8A8-41F6-A5A1-E0A7E24B8BA0 (Ready)

Total Disk Images: 30 (166.6G)

Hello, in that example output, I think you may just want to run xcrun simctl runtime match set 'iphoneos18.0' 22A3351

(without the --sdkBuild flag. )

Does that help get it to match?

Xcode 16 RC cannot choose iOS 18 RC simulator runtime
 
 
Q