Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
Fix generic iOS build
Kabir Oberai5ee849c9a875
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",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#endifextension SigningContext {- public static var hostName: String {+ @MainActor public static var hostName: String {#if targetEnvironment(simulator)return "Simulator"#elseif canImport(UIKit)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 } }!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 } }!