Open borrrden opened 3 weeks ago
Couple of questions:
xcodes version
)xcode-select -p
Downloading of iOS 18 runtime is only supported when you have Xcode 16.1 installed and selected (it uses xcodebuild), so in your case, you might not be able to download the runtime with xcodes.
Sorry for not including the information. I am on xcodes 1.6.0 and it is using Xcode 16.1 via the DEVELOPER_DIR switch (otherwise I get a different error message about needing Xcode 16.1).
My wild guess is that there is some executable inside that is not functioning correctly because of being on macOS 13. The same commands that xcodes runs (xcodebuild -downloadPlatform
) claim to have downloaded the runtimes, but they appear to not actually do anything. They finish in just a few seconds, claiming the platform is downloaded, but I can't believe that an 8 GiB download would finish so quickly.
+1 here trying to find what occurs, I have see:
For unattended installations I see two things:
You can download any simulator in here then manually install it :
xcrun simctl runtime add "~/Downloads/iOS_18_Simulator_Runtime.dmg"
Yes that is a workaround that I used but Apple explicitly made clear that those links are going to be removed in the future.
@borrrden The new way to install runtimes without using the deprecated links on the website is:
xcodebuild -downloadPlatform iOS -buildVersion 18.1 -exportPath ./SimulatorRuntimes/
xcodebuild -importPlatform ./SimulatorRuntimes/iphonesimulator_18.1_22B81.dmg
See https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes for more details
Although this remains a temporary solution, it is a more accurate approach.
It does not require you to login to your Apple account.
I had tried those already but they exited immediately without actually downloading anything which was puzzling. I have a feeling it won’t actually work unless running a new enough macOS
The only output I can get out of the command is:
Of potential relevance, the mac is not new enough to actually run Xcode 16.1, but I only need it to exist so that .NET tooling can access the tooling inside of it. Otherwise, I have to update the OS on a machine that I don't have physical access to which can be a pain....