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.

GSA lowercase

Kabir Oberai34a79f768f89
diff --git a/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift b/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift
index 68f3ac2..c97c4ec 100644
--- a/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift
+++ b/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift
@@ -64,7 +64,8 @@ public struct DeveloperServicesLoginManager: Sendable {
) async throws -> DeveloperServicesLoginToken {
let loginData = try await GrandSlamAuthenticateOperation(
client: client,
- username: username,
+ // GSA requires Apple IDs in lowercase for SRP
+ username: username.lowercased(),
password: password,
twoFactorDelegate: twoFactorDelegate
).authenticate()