Build Information
Successful build of better-auth-swift, reference main (6460e5), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 23:02:49 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jsj/better-auth-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jsj/better-auth-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6460e54 Fix session concurrency, auth compatibility, and retry safety
Cloned https://github.com/jsj/better-auth-swift.git
Revision (git rev-parse @):
6460e54599340c58602672452e06bf168da5fbf6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jsj/better-auth-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/jsj/better-auth-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 559]
[Planning deferred tasks]
[15 / 170] BetterAuthUsername
[81 / 170]
[82 / 171] BetterAuth
[92 / 219]
[97 / 219]
[101 / 219]
[102 / 219]
[106 / 219]
[108 / 219]
[111 / 219]
[115 / 219]
[117 / 219]
[118 / 219]
[130 / 219] BetterAuth
[131 / 219] BetterAuth
[147 / 228]
[148 / 228] BetterAuth-product
[148 / 228]
[148 / 228] BetterAuthTestHelpers
[158 / 258] BetterAuthSwiftUI
[176 / 258] BetterAuthUsername
[192 / 258] BetterAuthSocialOAuth
[215 / 289]
[229 / 289] BetterAuthTestHelpers
[237 / 289] BetterAuthSocialOAuth-product
[243 / 289] BetterAuthOrganization
[247 / 289] BetterAuthMagicLink-product
[252 / 289] BetterAuthAnonymous
[258 / 289] BetterAuthSwiftUI
[261 / 289] BetterAuthMagicLink
[271 / 289] BetterAuthEmailPassword
[272 / 289] BetterAuthSocialOAuth
[275 / 289]
[276 / 289]
[280 / 289] BetterAuthAppleSignIn
[286 / 289] BetterAuthAppleSignIn
Build complete! (13.93 sec)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "better-auth-swift",
"name" : "better-auth-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "BetterAuth",
"targets" : [
"BetterAuth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthEmailPassword",
"targets" : [
"BetterAuthEmailPassword"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthUsername",
"targets" : [
"BetterAuthUsername"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthAnonymous",
"targets" : [
"BetterAuthAnonymous"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthSocialOAuth",
"targets" : [
"BetterAuthSocialOAuth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthAppleSignIn",
"targets" : [
"BetterAuthAppleSignIn"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthMagicLink",
"targets" : [
"BetterAuthMagicLink"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthSwiftUI",
"targets" : [
"BetterAuthSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BetterAuthOrganization",
"targets" : [
"BetterAuthOrganization"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "BetterAuthUsername",
"module_type" : "SwiftTarget",
"name" : "BetterAuthUsername",
"path" : "Sources/BetterAuthUsername",
"product_memberships" : [
"BetterAuthUsername"
],
"sources" : [
"BetterAuthUsername.swift",
"UsernameModels.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthTestHelpers",
"module_type" : "SwiftTarget",
"name" : "BetterAuthTestHelpers",
"path" : "Tests/BetterAuthTestHelpers",
"sources" : [
"TestSupport.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthSwiftUI",
"module_type" : "SwiftTarget",
"name" : "BetterAuthSwiftUI",
"path" : "Sources/BetterAuthSwiftUI",
"product_memberships" : [
"BetterAuthSwiftUI"
],
"sources" : [
"AuthLaunchState.swift",
"AuthStore+AccountFeatures.swift",
"AuthStore+OneTimeCodes.swift",
"AuthStore+PrimaryAuth.swift",
"AuthStore+Session.swift",
"AuthStore.swift",
"AuthStoreNamespaces.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthSwiftTests",
"module_type" : "SwiftTarget",
"name" : "BetterAuthSwiftTests",
"path" : "Tests/BetterAuthSwiftTests",
"sources" : [
"AccountManagementAndOAuthTests.swift",
"BackendDiagnosticsTests.swift",
"EmailOtpAndRequestClientTests.swift",
"EmailPasswordAuthTests.swift",
"EmailUpstreamResponseTests.swift",
"LiveBetterAuthContractTests.swift",
"ModuleSystemTests.swift",
"MutationRetryTests.swift",
"PasskeyLifecycleTests.swift",
"PhoneAuthAndProfileTests.swift",
"SessionLifecycleCoreTests.swift",
"SessionPersistenceAndFetchTests.swift",
"SessionRaceRegressionTests.swift",
"SessionRefreshAndPasskeyCoreTests.swift",
"SessionRefreshConcurrencyTests.swift",
"SessionRefreshFallbackTests.swift",
"SessionRestoreAndAuthStoreTests.swift",
"SmokeTests.swift",
"SocialAndUsernameAuthTests.swift",
"TestAssertions.swift",
"UpstreamBetterAuthContractTests.swift"
],
"target_dependencies" : [
"BetterAuth",
"BetterAuthSwiftUI",
"BetterAuthEmailPassword",
"BetterAuthUsername",
"BetterAuthAnonymous",
"BetterAuthSocialOAuth",
"BetterAuthAppleSignIn",
"BetterAuthTestHelpers"
],
"type" : "test"
},
{
"c99name" : "BetterAuthSocialOAuth",
"module_type" : "SwiftTarget",
"name" : "BetterAuthSocialOAuth",
"path" : "Sources/BetterAuthSocialOAuth",
"product_memberships" : [
"BetterAuthSocialOAuth"
],
"sources" : [
"AuthProviderID.swift",
"BetterAuthSocialOAuth.swift",
"SocialOAuthModels.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthOrganizationTests",
"module_type" : "SwiftTarget",
"name" : "BetterAuthOrganizationTests",
"path" : "Tests/BetterAuthOrganizationTests",
"sources" : [
"OrganizationTests.swift"
],
"target_dependencies" : [
"BetterAuth",
"BetterAuthOrganization",
"BetterAuthTestHelpers"
],
"type" : "test"
},
{
"c99name" : "BetterAuthOrganization",
"module_type" : "SwiftTarget",
"name" : "BetterAuthOrganization",
"path" : "Sources/BetterAuthOrganization",
"product_memberships" : [
"BetterAuthOrganization"
],
"sources" : [
"BetterAuthOrganizationModule.swift",
"OrganizationManager.swift",
"OrganizationModels.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthMagicLinkTests",
"module_type" : "SwiftTarget",
"name" : "BetterAuthMagicLinkTests",
"path" : "Tests/BetterAuthMagicLinkTests",
"sources" : [
"BetterAuthMagicLinkTests.swift"
],
"target_dependencies" : [
"BetterAuth",
"BetterAuthMagicLink",
"BetterAuthTestHelpers"
],
"type" : "test"
},
{
"c99name" : "BetterAuthMagicLink",
"module_type" : "SwiftTarget",
"name" : "BetterAuthMagicLink",
"path" : "Sources/BetterAuthMagicLink",
"product_memberships" : [
"BetterAuthMagicLink"
],
"sources" : [
"BetterAuthMagicLinkClient.swift",
"BetterAuthMagicLinkModule.swift",
"MagicLinkModels.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthEmailPassword",
"module_type" : "SwiftTarget",
"name" : "BetterAuthEmailPassword",
"path" : "Sources/BetterAuthEmailPassword",
"product_memberships" : [
"BetterAuthEmailPassword"
],
"sources" : [
"BetterAuthEmailPassword.swift",
"EmailPasswordModels.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthAuthModulesTests",
"module_type" : "SwiftTarget",
"name" : "BetterAuthAuthModulesTests",
"path" : "Tests/BetterAuthAuthModulesTests",
"sources" : [
"BetterAuthAuthModulesTests.swift"
],
"target_dependencies" : [
"BetterAuth",
"BetterAuthEmailPassword",
"BetterAuthUsername",
"BetterAuthAnonymous",
"BetterAuthSocialOAuth",
"BetterAuthAppleSignIn",
"BetterAuthTestHelpers"
],
"type" : "test"
},
{
"c99name" : "BetterAuthAppleSignIn",
"module_type" : "SwiftTarget",
"name" : "BetterAuthAppleSignIn",
"path" : "Sources/BetterAuthAppleSignIn",
"product_memberships" : [
"BetterAuthAppleSignIn"
],
"sources" : [
"AppleSignInModels.swift",
"AppleSignInSupport.swift",
"BetterAuthAppleSignIn.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuthAnonymous",
"module_type" : "SwiftTarget",
"name" : "BetterAuthAnonymous",
"path" : "Sources/BetterAuthAnonymous",
"product_memberships" : [
"BetterAuthAnonymous"
],
"sources" : [
"BetterAuthAnonymous.swift"
],
"target_dependencies" : [
"BetterAuth"
],
"type" : "library"
},
{
"c99name" : "BetterAuth",
"module_type" : "SwiftTarget",
"name" : "BetterAuth",
"path" : "Sources/BetterAuthSwift",
"product_memberships" : [
"BetterAuth",
"BetterAuthEmailPassword",
"BetterAuthUsername",
"BetterAuthAnonymous",
"BetterAuthSocialOAuth",
"BetterAuthAppleSignIn",
"BetterAuthMagicLink",
"BetterAuthSwiftUI",
"BetterAuthOrganization"
],
"sources" : [
"Auth/OTP/AccountLifecycleModels.swift",
"Auth/OTP/BetterAuthOTPModels.swift",
"Auth/OTP/BetterAuthOTPServices.swift",
"Auth/OTP/EmailOTPModels.swift",
"Auth/OTP/PhoneOTPModels.swift",
"Auth/OTP/PrimaryAuthModels.swift",
"Auth/OTP/TwoFactorModels.swift",
"Auth/Passkey/BetterAuthPasskeyModels.swift",
"Auth/Primary/BetterAuthPrimaryAuthServices.swift",
"Auth/Social/BetterAuthCallbackHandler.swift",
"Client/BetterAuthAuthClient.swift",
"Client/BetterAuthAuthNamespaces.swift",
"Client/BetterAuthClient.swift",
"Client/BetterAuthClientProtocols.swift",
"Client/BetterAuthDiagnosticsClient.swift",
"Client/BetterAuthModules.swift",
"Configuration/BetterAuthConfiguration.swift",
"Configuration/BetterAuthURLResolver.swift",
"Core/BetterAuthCoreServices.swift",
"Core/BetterAuthEventEmitter.swift",
"Networking/AuthNetworkClient.swift",
"Networking/BetterAuthHTTPRequestBuilder.swift",
"Networking/BetterAuthRequestClient.swift",
"Networking/BetterAuthSessionTransportResponse.swift",
"Networking/BetterAuthTransport.swift",
"Networking/RetryPolicy.swift",
"Session/BetterAuthAuthOperationThrottle.swift",
"Session/BetterAuthLifecycle.swift",
"Session/BetterAuthSessionContext.swift",
"Session/BetterAuthSessionManager+AccountFeatures.swift",
"Session/BetterAuthSessionManager+OneTimeCodes.swift",
"Session/BetterAuthSessionManager+PrimaryAuth.swift",
"Session/BetterAuthSessionManager+SessionAccess.swift",
"Session/BetterAuthSessionManager.swift",
"Session/BetterAuthSessionModels.swift",
"Session/BetterAuthSessionServices.swift",
"Session/BetterAuthSessionState.swift",
"Session/BetterAuthSessionStore.swift",
"Support/BetterAuthCoding.swift",
"Support/BetterAuthErrors.swift",
"Support/BetterAuthLogger.swift",
"Support/PKCE.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.