speedwagon icon indicating copy to clipboard operation
speedwagon copied to clipboard

Unable to download the latest iOS 18 beta simulator (cryptexDiskImage)

Open gongzhang opened this issue 1 year ago • 5 comments

Hello,

I'm trying to download the latest beta simulators that Apple just released, but it seems something has changed. Below is the error message I'm receiving.

speedwagon list
...
├───────────────────────────────────────┼─────────┼──────────┼──────────────────┼────────┤
│ iOS 18.0 beta Simulator Runtime       │ 18.0    │ 22A5282m │ cryptexDiskImage │ 8.5 GB │
├───────────────────────────────────────┼─────────┼──────────┼──────────────────┼────────┤
│ tvOS 18.0 beta Simulator Runtime      │ 18.0    │ 22J5290l │ cryptexDiskImage │ 4.2 GB │
├───────────────────────────────────────┼─────────┼──────────┼──────────────────┼────────┤
│ visionOS 2.0 beta Simulator Runtime   │ 2.0     │ 22N5252m │ cryptexDiskImage │ 8.2 GB │
├───────────────────────────────────────┼─────────┼──────────┼──────────────────┼────────┤
│ watchOS 11.0 beta Simulator Runtime   │ 11.0    │ 22R5284o │ cryptexDiskImage │ 4.2 GB │
└───────────────────────────────────────┴─────────┴──────────┴──────────────────┴────────┘
speedwagon download "iOS 18.0 beta Simulator Runtime"
Downloading ...
   0% |                                                                                                                                     | ( 0/ 0 B) [0s:0s]
panic: Head "": unsupported protocol scheme ""

goroutine 1 [running]:
github.com/timsutton/speedwagon/cmd.glob..func1(0x1400018a900?, {0x14000032380?, 0x1?, 0x1?})
        /Users/tsutton/git/speedwagon/cmd/download.go:70 +0x630
github.com/spf13/cobra.(*Command).execute(0x10533b000, {0x14000032350, 0x1, 0x1})
        /Users/tsutton/Development/go/pkg/mod/github.com/spf13/[email protected]/command.go:920 +0x640
github.com/spf13/cobra.(*Command).ExecuteC(0x10533b5c0)
        /Users/tsutton/Development/go/pkg/mod/github.com/spf13/[email protected]/command.go:1044 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/tsutton/Development/go/pkg/mod/github.com/spf13/[email protected]/command.go:968
github.com/timsutton/speedwagon/cmd.Execute()
        /Users/tsutton/git/speedwagon/cmd/root.go:23 +0x24
main.main()
        /Users/tsutton/git/speedwagon/main.go:11 +0x20

gongzhang avatar Jun 11 '24 05:06 gongzhang

Yeah, unfortunately the changes with new simulators use an internal Apple system framework and the Pallas Apple service to fetch the simulator download. So it may be some time before (or if) the new simulator types can be supported in this tool :/

timsutton avatar Jun 11 '24 12:06 timsutton

Looking into it a bit more, it seems like since ipsw already has all the support for OTA fetching, that adding simulator support to ipsw makes more sense, and to sunset speedwagon.

timsutton avatar Jun 11 '24 13:06 timsutton

@timsutton Thank for the detailed information! They also removed the Export Disk Image command in Xcode 16.

Xcode 15 image

Xcode 16 image

gongzhang avatar Jun 12 '24 00:06 gongzhang

UPDATE: Just noticed that there is a simulator runtime export/import feature in Xcode 16.

https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes

image

gongzhang avatar Jul 24 '24 03:07 gongzhang

Hi Sorry bro it seems it does not work for other ios simulators too, what you built was fantastic, Do you think it will work again?

Rashcodeacademy avatar Nov 28 '24 15:11 Rashcodeacademy