Authorization Error: The operation couldn’t be completed. (org.openid.appauth.general error -6.)"

I created a developer account in OKTA and created one new native iOS application but when I try to login to the app using the
OktaAuth.login(username, password: password).start(withPListConfig: “Okta-PasswordFlow”, view: self)
.then { tokenManager in
self.dismissView()
}
.catch { error in
self.activityIndicator.stopAnimating()
self.errorField.text = error.localizedDescription
print(“Failure! Received error: (error.localizedDescription)”)
return
}
I keep getting the error Authorization Error: The operation couldn’t be completed. (org.openid.appauth.general error -6.)".
Can you please help me understand why i am getting this error? Am i missing something.

have you solved this problem

Hi, did you solve this problem?? Thanks!