当我尝试恢复交易中的文档时。如果该文档不存在,则会出现以下错误-> [Common] _BSMachError:端口29b33; (os / kern)无效功能(0x14)“无法插入COPY_SEND”,但我正在等待空文档,零或与错误不同的任何东西
database.runTransaction({ (transaction, errorPointer) -> Any? in
var snapshot: DocumentSnapshot?
do {
try snapshot = transaction.getDocument(documentReference)
} catch let fetchError as NSError {
errorPointer?.pointee = fetchError
return nil
}
if let document = snapshot, document.exists {
errorPointer?.pointee = NSError(domain:
提前感谢您的回复。