Clicking on Download in Xcode didn't do anything - the progress bar did not progress (does that make it a regress bar?).
This is what worked for me:
Open Xcode, open preferences, go to the Components section.
Open the Console App, clear the console.
Go back to the Xcode preferences. Start the simulator download, then cancel it.
Now in the Console, you will see something about the cancellation with the download URL.
Copy the URL from the Console. Then in Terminal in some suitable scratch folder, download it:
curl [the url you copied] -O(the letter O, not a zero)Finally, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads
Remove all *.dvtdownloadableindex files (maybe it doesn't matter, but I removed them).In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.
How easy was that! Only 7 steps, hah!
Answer from emp on Stack OverflowClicking on Download in Xcode didn't do anything - the progress bar did not progress (does that make it a regress bar?).
This is what worked for me:
Open Xcode, open preferences, go to the Components section.
Open the Console App, clear the console.
Go back to the Xcode preferences. Start the simulator download, then cancel it.
Now in the Console, you will see something about the cancellation with the download URL.
Copy the URL from the Console. Then in Terminal in some suitable scratch folder, download it:
curl [the url you copied] -O(the letter O, not a zero)Finally, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads
Remove all *.dvtdownloadableindex files (maybe it doesn't matter, but I removed them).In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.
How easy was that! Only 7 steps, hah!
To add iOS Simulator in XCode perform below steps:
Download iOS Simulator from Below Link:
After download completes, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads In some cases, we have to remove all *.dvtdownloadableindex files (maybe it doesn't matter, I didn't remove them).
In case directory ~/Library/Caches/com.apple.dt.Xcode don't have download folder then, just click
Show package contentcreate Downloads folder, before moving the dmg file.In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.
(Newest on top. only the latest revision is kept in the list.)
- Simulator Link:
iOS 18.1
iOS 18.0
iOS 17.4
iOS 17.2
iOS 17.0.1
https://download.developer.apple.com/Developer_Tools/iOS_17.0.1_Simulator_Runtime/iOS_17.0.1_Simulator_Runtime.dmg
iOS 15.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg
iOS 15.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_4-15.4.1.1650505652.dmg
iOS 15.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_2-15.2.1.1643410298.dmg
iOS 14.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_5-14.5.1.1621461325.dmg
iOS 14.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_4-14.4.1.1611903691.dmg
iOS 14.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_3-14.3.1.1611873653.dmg
iOS 14.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_2-14.2.1.1605311653.dmg
iOS 14.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_1-14.1.1.1604100028.dmg
iOS 14.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_0-14.0.1.1604100028.dmg
iOS 13.7
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_7-13.7.1.1599165590.dmg
iOS 13.6
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_6-13.6.1.1597276955.dmg
iOS 13.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_5-13.5.1.1591226335.dmg
iOS 13.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_4-13.4.1.1586370836.dmg
iOS 13.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_3-13.3.1.1580170331.dmg
iOS 13.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_2-13.2.1.1575590084.dmg
iOS 13.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_1-13.1.1.1571440502.dmg
iOS 13.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_0-13.0.1.1571440502.dmg
iOS 12.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg
iOS 12.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_2-12.2.1.1557987768.dmg
iOS 12.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_1-12.1.1.1543439531.dmg
iOS 12.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_0-12.0.1.1537588161.dmg
iOS 11.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_4-11.4.1.1527703358.dmg
iOS 11.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_3-11.3.1.1524350608.dmg
iOS 11.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_2-11.2.1.1516308624.dmg
iOS 11.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_1-11.1.1.1510784422.dmg
iOS 11.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_0-11.0.1.1508875951.dmg
iOS 10.3.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_3-10.3.1.1495751597.dmg
Videos
After a bit of googling I found the answer here:
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
Just move to the bottom where it says "Install and manage Simulator runtimes from the command line".
The steps to make it work are:
// Select version of Xcode
xcode-select -s /Applications/Xcode-beta7.app
// launch it
xcodebuild -runFirstLaunch
// and here I add the path to the simulator I downloaded!
xcrun simctl runtime add "~/Downloads/iOS_17_beta_7_Simulator_Runtime.dmg"
This worked great and when I opened Xcode again it did recognize the new runtime!
ps. There is also a great command to download all simulators from the command line directly if you need watchOS too!
xcodebuild -downloadAllPlatforms
As per Apple documentation the following steps should work. DOC
xcode-select -s /Applications/Xcode-beta.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add "~/Downloads/iOS_17_beta_Simulator_Runtime.dmg"
But unfortunately, this does not work for me.
I found the solution here. I just follow the steps.
Right click on the Xcode 15 Beta application and select Show Package Content.
Double click to open the iOS_17_beta_Simulator_Runtime.dmg file
Inside the simulator dmg file, find the Runtime folder. This is the folder we are going to copy into Xcode.
Place the Runtime folder at Developer → Platforms → iPhoneOS.platform → Library → Developer → CoreSimulator → Profiles inside the Xcode 15 beta Show Package Contents.
If you move the Xcode-beta application to the Application folder,you can use Finder to go to /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles.
Restart Xcode if you already have it open, and your iOS simulators will be there.
Don't know If this is a stupid question, I haven't messed much with Xcode