错误IOS 10-无法从https://mesu.apple.com/assets/复制资产类型为com.apple.MobileAsset.TextInput.SpellChecker的资产信息

Ola*_*Ola 2 ios firebase swift firebase-realtime-database

我有一组UITextfield供用户注册。我的应用程序构建成功,但是每当我尝试在电子邮件文本字段中输入@时,它都会在下面显示消息,并导致无法注册用户,无法单击“注册”按钮。有人知道发生了什么吗?以及如何解决此问题?

2017-04-14 15:41:26.949699-0400 Oja[72824:36708711] 0x6080003484b0 Copy matching assets reply: XPC_TYPE_DICTIONARY  <dictionary: 0x6080003484b0> { count = 1, transaction: 0, voucher = 0x0, contents =
"Result" => <int64: 0x608000222e40>: 29
}
2017-04-14 15:41:26.951188-0400 Oja[72824:36708711] 0x600000150e30 Daemon configuration query reply: XPC_TYPE_DICTIONARY  <dictionary: 0x600000150e30> { count = 2, transaction: 0, voucher = 0x0, contents =
"Dictionary" => <dictionary: 0x600000345800> { count = 1, transaction: 0, voucher = 0x0, contents =
    "ServerURL" => <dictionary: 0x600000344db0> { count = 3, transaction: 0, voucher = 0x0, contents =
        "com.apple.CFURL.magic" => <uuid: 0x600000043000> C3853DCC-9776-4114-B6C1-FD9F51944A6D
        "com.apple.CFURL.string" => <string: 0x6000000553c0> { length = 30, contents = "https://mesu.apple.com/assets/" }
        "com.apple.CFURL.base" => <null: 0x114b17f40>: null-object
    }
}
"Result" => <int64: 0x600000037360>: 0
}
2017-04-14 15:41:26.951649-0400 Oja[72824:36708711] [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker
Run Code Online (Sandbox Code Playgroud)

Ola*_*Ola 5

我以编程方式弄清楚了。我加了

tf.autocorrectionType = .no 
Run Code Online (Sandbox Code Playgroud)

停止拼写检查。

 let emailTextField: UITextField = {
    let tf = UITextField()
    tf.placeholder = "Email Address"
    tf.translatesAutoresizingMaskIntoConstraints = false
    tf.addTarget(self, action: #selector(handleTextInputchange), for: .editingChanged)
    tf.autocorrectionType = .no
    return tf
}()
Run Code Online (Sandbox Code Playgroud)