From dc283303e915ff38e9b24ac95953438633d4c413 Mon Sep 17 00:00:00 2001 From: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com> Date: Sun, 5 Jul 2026 21:35:57 -0600 Subject: [PATCH] Mark DeveloperDiskImageService as iOS 17.4+ to fix availability error --- Sources/DeveloperDiskImageService.swift | 1 + Sources/StikJIT.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/DeveloperDiskImageService.swift b/Sources/DeveloperDiskImageService.swift index d21ee4468b..8aa45ee1b2 100644 --- a/Sources/DeveloperDiskImageService.swift +++ b/Sources/DeveloperDiskImageService.swift @@ -29,6 +29,7 @@ public struct DDIPaths: Sendable { } } +@available(iOS 17.4, *) public actor DeveloperDiskImageService { public static let shared = DeveloperDiskImageService() diff --git a/Sources/StikJIT.swift b/Sources/StikJIT.swift index f24329e3c2..4ad5f838b6 100644 --- a/Sources/StikJIT.swift +++ b/Sources/StikJIT.swift @@ -44,6 +44,7 @@ public enum StikJIT { try DDISession(pairingFilePath: pairingFile.path, configuration: configuration).isMounted() } + @available(iOS 17.4, *) public static func downloadDDIIfNeeded(to paths: DDIPaths, progress: @escaping (Double, String) -> Void = { _, _ in }) async throws { try await DeveloperDiskImageService.shared.downloadIfNeeded(to: paths, progress: progress)