Some tricks to avoid some disk space cleaning :
When this error happens, dmgs are kept in /Library/Developper/CoreSimulator/Cryptex/Images/Inbox/{UUID}.dmg
I had several 7GB files like this, so you can just keep one.
Then here is one way for manual install :
Stop XCode
sudo mv /Library/Developper/CoreSimulator/Cryptex/Images/Inbox/{UUID}.dmg ~
sudo chown $USER:staff ~/{UUID}.dmg
open ~/{UUID}.dmg
# manual copy "/Volumes/iOS 17.0 21A328 Simulator"
sudo cp -a "/Volumes/iOS * Simulator/Library/Developer/CoreSimulator/Profiles" /Library/Developer/CoreSimulator/
Make sure you end up with "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntimes/"...
You will see the iOS env works when you start XCode again.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: