We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public static func addConfigurationAPNS(name: String, production: Bool, certificatePath: String) { addConfigurationIOS(name: name) { net in guard File(certificatePath).exists else { fatalError("File not found (certificatePath)") } guard net.useCertificateFile(cert: certificatePath) && net.usePrivateKeyFile(cert: certificatePath) && net.checkPrivateKey() else { let code = Int32(net.errorCode()) print("Error validating private key file: (net.errorStr(forCode: code))") return } } }
The parameter is never used within the function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
public static func addConfigurationAPNS(name: String, production: Bool, certificatePath: String) {
addConfigurationIOS(name: name) {
net in
guard File(certificatePath).exists else {
fatalError("File not found (certificatePath)")
}
guard net.useCertificateFile(cert: certificatePath)
&& net.usePrivateKeyFile(cert: certificatePath)
&& net.checkPrivateKey() else {
let code = Int32(net.errorCode())
print("Error validating private key file: (net.errorStr(forCode: code))")
return
}
}
}
The parameter is never used within the function
The text was updated successfully, but these errors were encountered: