Fix Xcode 16 warnings
- Commit
191530b59761d1beb7aebcffdd35849aa74f3f7b- Author
- Kabir Oberai <[email protected]>
- When
- 2024-11-11 03:11 UTC (2 years ago)
- Parents
52595cd
Diff
Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift
diff --git a/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swift b/Supersign/Sources/Supersign/DeveloperServices/DeveloperServicesClient.swiftindex 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) } } }
SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift
diff --git a/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swift b/SupersignCLISupport/Sources/SupersignCLISupport/DevicesCommand.swiftindex 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] // }