timsutton / speedwagon

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

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

Open gongzhang opened 5 months ago

gongzhang commented 5 months 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 5 months 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 5 months 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 5 months ago

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

Xcode 15

image

Xcode 16

image
gongzhang commented 4 months ago

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
Rashcodeacademy commented 5 days ago

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?