使用不带iCloud帐户的CloudKit时“无法发送有效签名”错误 [英] “Couldn't send a valid signature” error when using CloudKit without iCloud account

查看:266
本文介绍了使用不带iCloud帐户的CloudKit时“无法发送有效签名”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经提交了一个使用CloudKit到Apple的iOS应用程序。它被拒绝是因为它要求用户登录iCloud进行访问。 Apple的理由是,即使没有iCloud登录,公共数据库仍然可读。因此应用程序的这一部分应该正常运行。

I have submitted an iOS app that uses CloudKit to Apple. It's being rejected because it requires user to sign into iCloud for access. Apple's reasoning is that even without iCloud sign-in, the public database is still readable. So that part of the app should function.

我正在尝试修改应用程序,但是当我没有登录时,我仍然会收到此错误。

I am trying to modify the app but I continue to get this error when I am not signed in.

<CKError 0x8141a360: "Internal Error" (1/4000); "Couldn't send a valid signature">

我在网上搜索过,解决方案只是登录iCloud。此错误也没有Apple文档。有没有人知道如何在不登录iCloud帐户的情况下解决这个问题?非常感谢。

I have searched the web and the solution is always just to sign into iCloud. There is no Apple documentation regarding this error either. Does anyone know how to resolve this without signing into an iCloud account? Thank you very much.

推荐答案

我有同样的错误,但原因略有不同,所以对于这个问题另外要检查的事情(除了@Cakelly发表评论之外):

I had the same error but a slightly different cause, so for this problem another thing to check (other than that @Cakelly posted themselves as a comment):

如果您尝试从模拟器访问生产数据库,即使您已登录,也会发生此错误到iCloud。更改回开发数据库以在模拟器上进行测试。

This error can also occur if you try to access the Production database from the simulator, even if you are signed in to iCloud. Change back to the Development database to test on a simulator.

这篇关于使用不带iCloud帐户的CloudKit时“无法发送有效签名”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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