feat: support downloading of cryptex (ex iOS 18+) runtimes #622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #618 fixes #575 Fixes #571
Since iOS 18, Apple has switched how runtimes are downloaded. They no longer fully support downloading direct from their website (at least automatically via their runtime source list), and instead use cryptex images.
With Xcode 16.1 beta 3,
xcodebuild
now supports downloading runtimes by individual versions. Previously you could only download the current runtime for a selected Xcode, which for Xcodes isn't the point.This PR hooks all that up by using the
xcodebuild -downloadPlatform iOS -buildVersion 22B5045f
type of command to download the runtime as well as install it. The obvious downside of using this way, is we no longer get to usearia2
for faster downloads, but at least everything can now be done via Xcodes again.Since
xcodebuild
now installs as well, updated the progress view to beindeterminate
so it shows it doing something as it's installing.Testing