Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Fix Xcode 16 warnings

Kabir Oberai191530b59761
diff --git a/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift b/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift
index 29182b8..d28f7df 100644
--- a/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift
+++ b/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift
@@ -111,8 +111,8 @@ public final class DeveloperServicesClient {
let decoded: R.Response = try request.apiVersion.decode(response: data)
- return try await withCheckedThrowingContinuation {
- request.parse(decoded, completion: $0.resume(with:))
+ return try await withCheckedThrowingContinuation { continuation in
+ request.parse(decoded) { continuation.resume(with: $0) }
}
}
diff --git a/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift b/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift
index dbb53d4..84c2b48 100644
--- a/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift
+++ b/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift
@@ -2,7 +2,7 @@ import Foundation
import Supersign
import ArgumentParser
-extension ConnectionManager.SearchMode: EnumerableFlag {
+extension ConnectionManager.SearchMode: @retroactive EnumerableFlag {
// public static func name(for value: ConnectionManager.SearchMode) -> NameSpecification {
// [.short, .long]
// }