I use Xcode 15 beta 5, and downloaded the iOS 17 Beta 4 simulator runtime as an DMG image. The --help
message for simctl create
says I can use <runtime id>
argument to specify the runtime I need, and it says I can supply the /Volumes/.../Runtimes/*.simruntime
file:
Usage: simctl create <name> <device type id> [<runtime id>]
...
<runtime id>
Examples: ("watchOS3", "watchOS3.2", "watchOS 3.2", "com.apple.CoreSimulator.SimRuntime.watchOS-3-2", "/Volumes/path/to/Runtimes/watchOS 3.2.simruntime")
So, after mounting the image I expect the following to work:
$ xcrun simctl create 'iPhone 14' 'iPhone 14' "/Volumes/iOS 17.0 21A5291g Simulator/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime"
Invalid runtime: /Volumes/iOS 17.0 21A5291g Simulator/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime
But apparently this doesn't work for some reason. Did I miss anything?