After putting in the Xcode 27 beta, I attempted to obtain all of the simulator runtimes that I wanted. The watchOS runtime put in flawlessly, however I had points putting in the iOS runtime. I stored seeing a dialog that stated that Xcode was fetching obtain data and irrespective of how lengthy I waited; that dialog wouldn’t go away.
I reinstalled Xcode and rebooted my Mac, however I simply couldn’t get the iOS runtime to obtain. I regarded round on the web, and I discovered that you could set up runtimes from the command line utilizing xcodebuild.
By working xcodebuild -downloadPlatform iOS you possibly can obtain the runtimes for the desired platform utilizing the Xcode model that you’ve got chosen on the command line.
To just be sure you have the right Xcode model chosen, use
xcode-select -pto see which Xcode you’ve gotten chosen. If it is not the Xcode model that you simply need to set up runtimes for, usexcode-select -sto decide on your Xcode model. For instance,xcode-select -s /Functions/Xcode-beta.app. Be aware that you must run these instructions assudo.
In my case, putting in with xcodebuild initally did not work. I stored seeing the next:
Discovering content material...
Robotically resolved structure variant for platform iOS as 'common'.
No matching downloadable discovered for platform: iOS
No downloadable was discovered for iOS.
This informed me that xcodebuild was in search of a common iOS runtime, which it could not discover. I attempted putting in watchOS and visionOS by this very same command, and I noticed that these have been truly pulling the arm64 runtime as an alternative of a common runtime.
This made me suppose that possibly iOS also needs to be downloaded as arm64.
After slightly little bit of digging by the documentation, I discovered that I might run the next command to specify that I needed to obtain the arm64 runtime as an alternative of the common one:
xcodebuild -downloadPlatform iOS -architectureVariant arm64
With this command, I used to be in a position to simply set up iOS 27 related runtimes for Xcode builds, so I ought to run in an analogous means, as a result of you aren’t in a position to set up your runtimes for another passage runtime from the command line and never immediately handle the shopper putting in your runtimes to your Xcode builds. You also needs to use a single command to put in all of the completely different platforms that might work slightly bit like this:
xcodebuild -downloadAllPlatforms -architectureVariant arm64

