timsutton / speedwagon

Download iOS/tvOS/watchOS/xrOS simulators without Xcode or macOS
MIT License
117 stars 3 forks source link

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

Open gongzhang opened 3 weeks ago

gongzhang commented 3 weeks ago

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/cobra@v1.6.1/command.go:920 +0x640
github.com/spf13/cobra.(*Command).ExecuteC(0x10533b5c0)
        /Users/tsutton/Development/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/tsutton/Development/go/pkg/mod/github.com/spf13/cobra@v1.6.1/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
timsutton commented 3 weeks ago

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 commented 3 weeks ago

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.

gongzhang commented 3 weeks ago

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

Xcode 15

image

Xcode 16

image