应用程序激活时出错 [英] Error when the application did become active

查看:40
本文介绍了应用程序激活时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 xcode 日志中看到了这个:

I'm getting this on the xcode logs:

[_UIRemoteKeyboards 代理]_block_invoke 无法访问远程服务:错误域=NSCocoaErrorDomain 代码=4099与名为 com.apple.UIKit.KeyboardManagement.hosted 的服务的连接在此过程中无效."UserInfo={NSDebugDescription=到名为 com.apple.UIKit.KeyboardManagement.hosted 的服务的连接在此过程中无效.}

[_UIRemoteKeyboards proxy]_block_invoke Failed to access remote service: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process.}

知道是什么导致了这种情况吗?

Any idea as to what could have caused this?

推荐答案

就我而言,我已经看到了这个错误,但之前我在 Firestore 的控制台中出现错误,没有获得足够的权限来下载用户.

In my case I have seen this error, but before I had error in console from Firestore which was not getting enough permission to download User.

为了解决这个问题,我将 Firestore 的规则更改为以下内容:

To fix that I changed rules for Firestore to the following:

  allow read, write: if request.auth != null;
  allow read: if request.auth == null;

也许这会有所帮助.

这篇关于应用程序激活时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆