Xcode 15 has issues downloading simulators

Downloading the large simulator files in Xcode used to be robust. Now however I find it almost impossible to download them as even the slightest transient netork outage will cause the download to fail.

The process goes something like this... Install fresh Xcode 15, and open a porject that targets iOS.

Xcode will prompt you to get the latest simulator:

Click on get and the download will begin.

After a small sub-second network outage it fails:

Click on the info button to get more info:

And show details gives:


Could not download iOS 17.0 Simulator (21A328).
Domain: NSURLErrorDomain
Code: -1001
Recovery Suggestion: The request timed out.
User Info: {
    DVTErrorCreationDateKey = "2023-09-20 11:27:17 +0000";
    DVTRecoveryBlockKey = "<__NSGlobalBlock__: 0x106dd0810>";
    NSLocalizedRecoveryOptions =     (
        Cancel
    );
    NSRecoveryAttempter = "<_DVTErrorRecoveryHandler: 0x6000010e20b0>";
}
--


System Information

macOS Version 14.0 (Build 23A339)
Xcode 15.0 (22265) (Build 15A240d)
Timestamp: 2023-09-20T12:27:17+01:00
Post not yet marked as solved Up vote post of SpiderKenny Down vote post of SpiderKenny
1.7k views

Replies

Hello!

You can download the simulator manually from https://download.developer.apple.com/Developer_Tools/iOS_17_Simulator_Runtime/iOS_17_Simulator_Runtime.dmg and then install it using

xcrun simctl runtime add iOS_17_Simulator_Runtime.dmg
  • This works.

Add a Comment

Hi,

I'm having exactly the same problem, but the link given below returns a 403 for me, even though I'm fully logged in to the developer program.

I've tried completely removing everything to do with Xcode, and the Library/Developer directories, but nothing works.

I'm stuck, can't run any simulators, can't do any development.

My platforms list shows several simulators on disk, but none of them work:

Can't add new ones because there aren't any OS's to link the simulator to...

Help!

Wondering if I should use my code level support request to ask Apple for help!

Thanks, Darren

Same problem here as shown in the screenshot of Darren. "iOS 17.0" is grayed out and clicking on the "Get" button does not work. I used xcodebuild -downloadAllPlatforms in Terminal, but this downloaded and installed only simulators, not the SDK (?).

Hi,

Anyone found a solution to this yet?

I raised a TSI, but not a lot of support.

Xcode is dead for 2 weeks now. I found a few directories missing below /Library/Developer/CoreSimulator/Images/ from various error messages but it still thinks it has the simulators installed so won't reinstall then, and the ones it thinks it has don't exist.

Cheers...

After lots of fighting, managed to clean out all the runtimes with a combination of:

xcrun simctl runtime delete all

and killing the CoreSimulator processes and then full shutdown and restart.

Then Xcode saw there were no runtimes and let me install them cleanly.

I'm in exactly the same boat here. I've tried many times now. The furthest it got was about 4GB.