阅读背景:

使用不带iCloud帐户的CloudKit时“无法发送有效签名”错误

来源:互联网 

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.

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

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">

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.

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

1 个解决方案

#1


6  

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):

我有相同的错误,但原因略有不同,所以对于这个问题另一件事要检查(除了@Cakelly发布自己作为评论):

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,也会发生此错误。更改回Development数据库以在模拟器上进行测试。


分享到: