Reputation: 287
I update from Xcode 15 beta to Xcode 15.
I wanted to install the iOS package and got this error:
I already reinstalled Xcode.
There are already newer versions on the Apple site than what is shown here. Is that maybe where the error comes from?
Upvotes: 27
Views: 13855
Reputation: 47
I had this recently and it turned out to be an MDM policy on my Mac that was intending to block external USB devices from being mounted, but ended up also blocking downloaded volumes from being mounted.
Upvotes: 0
Reputation: 11
I also faced this issue, because of storage issue. But I am using a Apple M1 256 GB and I can't able to reduce my storage because system data is 150 GB.
I just downloaded the runtime from Apple and ran the following command in the terminal after download. It worked.
xcrun simctl runtime add iOS_17_Simulator_Runtime.dmg
Upvotes: 1
Reputation: 345
I have tried all the suggested methods, but none of them worked for me.
So I did go to App Store, and updated Xcode. After the update is done, running Xcode, it shows the list of simulators to install. Select iOS 17.0.
Then it works well.
Upvotes: -1
Reputation: 1193
Just sign in with your Apple Developer account to Xcode → Signing in & capabilities → select Team, and it starts your downloading again. This works for me.
Upvotes: 0
Reputation: 726
Try the link https://download.developer.apple.com/Developer_Tools/iOS_17_Simulator_Runtime/iOS_17_Simulator_Runtime.dmg.
You can download it manually from here and install it using instruction from Installing and managing Simulator runtimes
After downloading, run:
xcrun simctl runtime add iOS_17_Simulator_Runtime.dmg
Upvotes: 48
Reputation: 11
For me it worked by downloading the stimulator through the command line.
Just type this command in the terminal:
xcodebuild -downloadPlatform iOS
Upvotes: 1
Reputation: 693
I fixed it by flushing the DNS. Try this:
sudo dscacheutil -flushcache
, enter your password if promptedsudo killall -HUP mDNSResponder
Or you can simply flush the DNS with CleanMyMac. Either method works just the same.
Upvotes: 0