Could not download IOS Simulator Xcode 12.4

Macbook Air M1, get the error in Xcode 12.4:

Could not download and install IOS 12.0 Simulator. Failed to download package from ADC. There are no valid accounts registered with Xcode that have the ability to access this resource. Contact Apple Developer Program Support to resolve account access issues.

I have never had this error on the previous Xcode and Macbook on intel chip. Please can you tell me how to solve it.


Post not yet marked as solved Up vote post of jocoders Down vote post of jocoders
19k views
  • I am also facing this issue

Add a Comment

Replies

Ensure you're signed in to your Apple Developer account in Xcode's Preferences window. If you are and still receive this message, then follow-up on the error as directed and contact the Developer Program support team about your account access issue.
Thank you so much. I have signed im Preferences => Accounts => added my apple ID and still can not to install new simulators. Write a few days ago to Developer Program support, but nobody answered me.
I try signed-in, restart the system, still simulator download failing.
Im facing same issue

I experiencing the same thing. "Could not download and install iOS 14.0 Simulator. The request timed out." It's been going on for days. I was able to download 13.0, but that might have just been momentary luck.

Anyone get this figured out?

There is an answer here https://stackoverflow.com/a/29111012 that worked for other, but not for me.

However, after manually creating the Downloads folder

~/Library/Caches/com.apple.dt.Xcode/Downloads

I went back to Xcode and it started downloading the simulator. Please check if this works for you as well.

  • Helpse, thanks for help

  • Had a similar issue with Xcode 15 downloading iOS simulator 17. Went into the ~/Library/Caches/com.apple.dt.Xcode/Downloads folder and deleted the cache file in there. Then the download worked

Add a Comment

I also faced same issue Run xCode using sudo /Applications/Xcode.app/Contents/MacOS/Xcode from terminal and then download the simulator

My issue was fixed

I tried to open with sudo from the terminal. Though the download started but in after almost 60% of downloading the same error occurred. That happened a couple of times. This was frustrating really, it consumed a lot of time plus no result. Please look into this kind of issues team

I am also facing the issue.

anybody help?where was the official team?

  • Oh, opening xcode with sudo from the terminal can fix as somebody above said.

Add a Comment

Following has fixed this issue for me.

#1 Login with your apple id from Xcode => Preferences => Accounts #2 After step 1 from same screen click on "Manage Certificates" and then "+" icon to add one #3 Try again with Simulator installation from components.

  1. open term
  2. sudo /Applications/Xcode.app/Contents/MacOS/Xcode
  3. Xcode - preferences - components
  4. download simulator
  5. cancel download simulator
  6. copy download url from term
  7. open safari
  8. download simulator
  9. move to ~/Library/Caches/com.apple.dt.Xcode
  10. restart Xcode
  • No need to sudo, it gives away the url just as fine when run without it

Add a Comment
  1. use speedwagon to download simulator runtime

https://github.com/timsutton/speedwagon

  1. follow the doc, use xcrun simctl runtime add to install dmg

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

In my case I am facing the following issue:

Failed with HTTP status 400: bad request
Domain: DataGatheringNSURLSessionDelegate

I solved it by deleting the files from ~/Library/Caches/com.apple.dt.Xcode/Downloads folder.

Hi Everyone,

I was following this issue and what worked for me is the following:

  • Go to the URL: https://developer.apple.com/download/all/
  • You will be asked to login with your developer account.
  • Download "iOS 17 Simulator Runtime". With Chrome, you also might get download paused but be patient. Eventually after a long time it will downloaded as Chrome has better built in tolerance to resume downloads.

  • Run the following command:
xcrun simctl runtime add "Path to downloaded dmg file"
e.g. xcrun simctl runtime add "~Downloads/iOS_17_Simulator_Runtime.dmg" 

And after that you should be able to continue with your app development. I hope it helps you

With Regards Saurabh

  • Thank you. This is the right answer. Worked for iOS 17.2 Simulator as well which was particularly problematic while downloading.

Add a Comment