diff --git a/fastlane/Constants/Constant.swift b/fastlane/Constants/Constant.swift index 2b434f4f..ae8ddf83 100644 --- a/fastlane/Constants/Constant.swift +++ b/fastlane/Constants/Constant.swift @@ -37,7 +37,6 @@ enum Constant { static let projectPath: String = "./\(projectName).xcodeproj" static let testOutputDirectoryPath = "./fastlane/test_output" static let infoPlistPath = "\(projectName)/Configurations/Plists/Info.plist" - static let keychainPath = "~/Library/Keychains/\(keychainName)-db" // MARK: Platform diff --git a/fastlane/Helpers/Keychain.swift b/fastlane/Helpers/Keychain.swift index e06f24a3..522a8704 100644 --- a/fastlane/Helpers/Keychain.swift +++ b/fastlane/Helpers/Keychain.swift @@ -21,9 +21,6 @@ enum Keychain { } static func remove() { - guard FileManager.default.fileExists(atPath: Constant.keychainPath) else { - return log(message: "Couldn't find the Keychain") - } deleteKeychain( name: .userDefined(Constant.keychainName) )