Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
Fix non-iOS builds
Kabir Oberai5ab6ac7ce3b6
diff --git a/Supersign/Sources/Supersign/Integration/SuperchargeInstaller.swift b/Supersign/Sources/Supersign/Integration/SuperchargeInstaller.swiftindex 053b439..fc8b4e5 100644--- a/Supersign/Sources/Supersign/Integration/SuperchargeInstaller.swift+++ b/Supersign/Sources/Supersign/Integration/SuperchargeInstaller.swift@@ -95,7 +95,7 @@ public final class IntegratedInstaller {}let udid: String- let connectionPreferences: Connection.Preferences+ let lookupMode: LookupModelet appleID: Stringlet credentials: Credentialslet configureDevice: Bool@@ -160,7 +160,7 @@ public final class IntegratedInstaller {public init(udid: String,- connectionPreferences: Connection.Preferences,+ lookupMode: LookupMode,appleID: String,credentials: Credentials,configureDevice: Bool,@@ -168,7 +168,7 @@ public final class IntegratedInstaller {delegate: IntegratedInstallerDelegate) {self.udid = udid- self.connectionPreferences = connectionPreferences+ self.lookupMode = lookupModeself.appleID = appleIDself.credentials = credentialsself.configureDevice = configureDevice@@ -211,7 +211,7 @@ public final class IntegratedInstaller {// TODO: Maybe use `Connection` here instead of creating the lockdown// client manually?- let device = try Device(udid: udid, lookupMode: connectionPreferences.lookupMode)+ let device = try Device(udid: udid, lookupMode: lookupMode)guard updateProgress(to: 1/3) else { return nil }@@ -297,7 +297,7 @@ public final class IntegratedInstaller {guard shouldContinue() else { return }executionStateLock.lock()defer { executionStateLock.unlock() }- let appInstaller = AppInstaller(ipa: ipa, udid: udid, connectionPreferences: connectionPreferences)+ let appInstaller = AppInstaller(ipa: ipa, udid: udid, connectionPreferences: .init(lookupMode: lookupMode))self.appInstaller = appInstallerappInstaller.install(progress: { stage indiff --git a/Supersign/Sources/SupersignCLISupport/InstallCommand.swift b/Supersign/Sources/SupersignCLISupport/InstallCommand.swiftindex 4577d00..ed0ae63 100644--- a/Supersign/Sources/SupersignCLISupport/InstallCommand.swift+++ b/Supersign/Sources/SupersignCLISupport/InstallCommand.swift@@ -43,7 +43,7 @@ struct InstallCommand: ParsableCommand {}let installer = IntegratedInstaller(udid: client.udid,- connectionPreferences: .init(lookupMode: .only(client.connectionType)),+ lookupMode: .only(client.connectionType),appleID: username,credentials: credentials,configureDevice: false,diff --git a/Supersign/Sources/SupersignCLISupport/SuperchargeCommand.swift b/Supersign/Sources/SupersignCLISupport/SuperchargeCommand.swiftindex e06ee40..123609f 100644--- a/Supersign/Sources/SupersignCLISupport/SuperchargeCommand.swift+++ b/Supersign/Sources/SupersignCLISupport/SuperchargeCommand.swift@@ -63,7 +63,7 @@ struct InstallSuperchargeCommand: ParsableCommand {}let installer = IntegratedInstaller(udid: client.udid,- connectionPreferences: .init(lookupMode: .only(.usb)),+ lookupMode: .only(.usb),appleID: username,credentials: credentials,configureDevice: true,