Fix generic iOS build
- Commit
5ee849c9a875043a902d4a48de238339e654af58- Author
- Kabir Oberai <[email protected]>
- When
- 2025-04-28 22:16 UTC (1 year ago)
- Parents
f3ccef3
Diff
Package.resolved
diff --git a/Package.resolved b/Package.resolvedindex a70ee8d..e853445 100644--- a/Package.resolved+++ b/Package.resolved@@ -1,5 +1,5 @@ {- "originHash" : "7d8342a181303ec948ba0a80e3bdadfdefbde5ca30e750282a9caf834410fae7",+ "originHash" : "b9f8453a6faaca7c9abefbbf1357e95438780871971a8da009870fc2004b7524", "pins" : [ { "identity" : "aexml",@@ -181,6 +181,24 @@ "version" : "1.9.2" } },+ {+ "identity" : "swift-docc-plugin",+ "kind" : "remoteSourceControl",+ "location" : "https://github.com/apple/swift-docc-plugin",+ "state" : {+ "revision" : "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64",+ "version" : "1.4.3"+ }+ },+ {+ "identity" : "swift-docc-symbolkit",+ "kind" : "remoteSourceControl",+ "location" : "https://github.com/swiftlang/swift-docc-symbolkit",+ "state" : {+ "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",+ "version" : "1.0.0"+ }+ }, { "identity" : "swift-http-structured-headers", "kind" : "remoteSourceControl",
Sources/Supersign/Signer/SigningContext.swift
diff --git a/Sources/Supersign/Signer/SigningContext.swift b/Sources/Supersign/Signer/SigningContext.swiftindex 29d3d6c..4ece266 100644--- a/Sources/Supersign/Signer/SigningContext.swift+++ b/Sources/Supersign/Signer/SigningContext.swift@@ -38,7 +38,7 @@ public struct SigningContext: Sendable { import UIKit #endif extension SigningContext {- public static var hostName: String {+ @MainActor public static var hostName: String { #if targetEnvironment(simulator) return "Simulator" #elseif canImport(UIKit)
Tests/SupersignTests/Tests/SupersignDeveloperServicesTests.swift
diff --git a/Tests/SupersignTests/Tests/SupersignDeveloperServicesTests.swift b/Tests/SupersignTests/Tests/SupersignDeveloperServicesTests.swiftindex a86c0e1..409be5e 100644--- a/Tests/SupersignTests/Tests/SupersignDeveloperServicesTests.swift+++ b/Tests/SupersignTests/Tests/SupersignDeveloperServicesTests.swift@@ -30,7 +30,7 @@ class SupersignDeveloperServicesTests: XCTestCase { } // integration test for provisioning- func testProvisioningIntegration() async throws {+ @MainActor func testProvisioningIntegration() async throws { let listTeams = DeveloperServicesListTeamsRequest() let teams = try await client.send(listTeams) let team = teams.first { $0.status == "active" && $0.memberships.contains { $0.platform == .iOS } }!
Tests/SupersignTests/Tests/SupersignSigningTests.swift
diff --git a/Tests/SupersignTests/Tests/SupersignSigningTests.swift b/Tests/SupersignTests/Tests/SupersignSigningTests.swiftindex e880c0e..b47d27a 100644--- a/Tests/SupersignTests/Tests/SupersignSigningTests.swift+++ b/Tests/SupersignTests/Tests/SupersignSigningTests.swift@@ -46,7 +46,7 @@ class SupersignSigningTests: XCTestCase { // swiftlint:enable force_try // integration test for signing- func testSigningIntegration() throws {+ @MainActor func testSigningIntegration() throws { let listTeams = DeveloperServicesListTeamsRequest() let teams = try XCTTry(client.sendTest(listTeams)) let team = teams.first { $0.status == "active" && $0.memberships.contains { $0.platform == .iOS } }!