Xcode 15 - Unable to install iOS 17 Simulator runtime

I am getting Failed with HTTP status 400: bad request when trying to install iOS 17 simulator. I even tried xcodebuild -downloadPlatform iOS and got below error

Finding content...2023-09-19 09:48:50.222 xcodebuild[1034:23187]  DVTDownloadable: Observed finish. Stop observing simulator updates. error: (null)
Downloading iOS 17.0 Simulator (21A328): Preparing to download...2023-09-19 09:48:51.556 xcodebuild[1034:23187]  DVTDownloadable: Download Failed. Downloadable: https://download.developer.apple.com/Developer_Tools/iOS_17_Simulator_Runtime_Release_Candidate/iOS_17_Simulator_Runtime_Release_Candidate.dmg. Error Domain=DataGatheringNSURLSessionDelegate Code=1 "Failed with HTTP status 400: bad request" UserInfo={NSLocalizedDescription=Failed with HTTP status 400: bad request}
Downloading iOS 17.0 Simulator (21A328): Error: Error Domain=DataGatheringNSURLSessionDelegate Code=1 "Failed with HTTP status 400: bad request" UserInfo={NSLocalizedDescription=Failed with HTTP status 400: bad request}

When installing with Xcode 15 I get the same error.

I have installed Xcode from App Store and I am running macOS Sonoma RC.

Same here when try to install iOS 17 with xCode

Failed with HTTP status 400: bad request Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = "2023-09-19 09:06:58 +0000"; }

System Information

macOS Version 14.0 (Build 23A339) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2023-09-19T11:06:58+02:00

Same here FB13185246

Ventura 13.5.2 Tried AppStore and download from Developer portal, tried to clean old Xcode data from (~/Library/Developer) with no luck.

Anyone facing this issue please post Feedback Assistance to attract attention of Apple.

Same here FB13185246

Ventura 13.5.2 Tried AppStore and download from Developer portal, tried to clean old Xcode data from (~/Library/Developer) with no luck.

Anyone facing this issue please post Feedback Assistance to attract attention of Apple.

I have experienced the same thing but there is no solution.

Same issue here with Xcode 15 (Running on M1 Max with Ventura 13.5.2)

Currently facing the exact same issue (Ventura 13.5.2)

I have the same problem! The downloads work on my Mac mini with macOS Sonoma beta but on my Mac Book Pro with macOS Ventura 13.5.2 I only get the 404 bad request status. I tried it with the App Store version, the direct download and the previous RC version. Nothing works.

Same for me :(

Try this link - https://download.developer.apple.com/Developer_Tools/iOS_17_Simulator_Runtime/iOS_17_Simulator_Runtime.dmg You can download it manually from here - https://developer.apple.com/download/all/ and install it using instruction from here - https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

I'm having the exact same issue: Failed with HTTP status 400: bad request Nothing seems to work...

macOS v13.5.2 (22G91)Xcode v15.0 (15A240d)

This solution from StackOverflow / Serhii Londar worked for me:

Try this link - https://download.developer.apple.com/Developer_Tools/iOS_17_Simulator_Runtime/iOS_17_Simulator_Runtime.dmg You can download it manually from here - https://developer.apple.com/download/all/ and install it using instruction from here - https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

Here is how to install iOS 17 simulator manually:

  1. Download "iOS 17 Simulator Runtime" from https://developer.apple.com/download/all/
  2. Install Xcode 15
  3. Use article by link below to install iOS simulator runtime from command line:

https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

Worked for me

For anyone having the same issue: please check out this solution https://stackoverflow.com/a/77133957/12113688 It worked for me!

I fixed it by flushing the DNS, try this:

  1. Open the Terminal app
  2. Enter sudo dscacheutil -flushcache, enter your password if prompted
  3. Enter sudo killall -HUP mDNSResponder
  4. Reconnect your WiFi / Ethernet

Or you can simply flush the DNS with CleanMyMac, either method works just the same.

Xcode 15 - Unable to install iOS 17 Simulator runtime
 
 
Q