let query = AVQuery(className: "PersonalLog")
        query.whereKey("creator", equalTo: user)
        query.findObjectsInBackground { (result, error) in
            guard let arr = result else { return }
            let a = arr as! [AVObject]
            self.data = a.map({
                $0.object(forKey: "name") as! String
            })
            self.logTableView.reloadData()
        }
        
        let liveQuery = AVLiveQuery(query: query)
        liveQuery.delegate = self
        liveQuery.subscribe { (result, error) in
            debugPrint(result)
        }

我创建了一个新的 PersonalLog,但是没有执行 liveQuery(_ liveQuery: AVLiveQuery, objectDidCreate object: Any)

控制台已开启。

有没有人出来解答下。。

------ BEGIN LeanCloud IM In Command ------
content: <AVIMGenericCommand 0x1c01d11c0>: {
    cmd: data
    appId: ""
    installationId: ""
    service: 1
    dataMessage {
      ids: "*****"
      msg {
        data: "********"
      }
    }
}
------ END --------------------------------

log有输出这个,但就是不走代理

请将 SDK 打印的所有日志整理成一个文本文件,通过附件上传上来。

代理未响应是因为liveQuery在subscribe后被自动释放的原因,可将liveQuery保存为属性