diff --git a/fastlane/Fastfile.swift b/fastlane/Fastfile.swift index 46f1ae3a..ccba6fe1 100644 --- a/fastlane/Fastfile.swift +++ b/fastlane/Fastfile.swift @@ -107,7 +107,7 @@ class Fastfile: LaneFile { desc("Build Production app and upload to App Store") setAppVersion() - AppStoreAuthentication.connectProductionAPIKey() + AppStoreAuthentication.connectAPIKey() if Secret.bumpAppStoreBuildNumber { bumpAppstoreBuild() } else { @@ -131,7 +131,7 @@ class Fastfile: LaneFile { buildAppStoreLane() - AppStoreAuthentication.connectProductionAPIKey() + AppStoreAuthentication.connectAPIKey() Distribution.uploadToTestFlight() Symbol.uploadToCrashlytics(environment: .production) diff --git a/fastlane/Helpers/AppStoreAuthentication.swift b/fastlane/Helpers/AppStoreAuthentication.swift index 7435d50b..8eaded06 100644 --- a/fastlane/Helpers/AppStoreAuthentication.swift +++ b/fastlane/Helpers/AppStoreAuthentication.swift @@ -10,7 +10,7 @@ import Foundation enum AppStoreAuthentication { - static func connectProductionAPIKey() { + static func connectAPIKey() { appStoreConnectApiKey( keyId: Secret.appStoreKeyIdKey, issuerId: Secret.appStoreIssuerIdKey,