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