i just want to update authenticate email address of current user. i have tried lot's of solution like updateEmail method of firebase but it not work !! if any one know then please tell me how can i achieved this Thanks in advance !!
@IBAction func btnResetEmailClick(_ sender: UIButton) { let auth = Auth.auth() guard let email = self.txtEmailAddress.text ?? auth.currentUser?.email else { return } // email that i have to update with current user email auth.currentUser?.updateEmail(to: (auth.currentUser?.email)!, completion: { (error) in if error == nil{ }else{ } }) } 
(to: (auth.currentUser?.email)!to(to: (email)!. For an example, see my answer to this question.