-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to download iOS runtime 18.x #396
Comments
Couple of questions:
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 ( |
+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 |
Hi, And for this in a automated way? For unattended installations I see two things:
For an user and password for Store can use XCODES_USERNAME and XCODES_PASSWORD but for a sudo password? |
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....
The text was updated successfully, but these errors were encountered: