我在XCode 14.0上运行我的应用程序。应用程序可以运行,但出现错误:
2022-10-28 17:55:47.5832 xxx34-0400 x[14690:980363] 8.14.0 - [Firebase/Firestore][I-FST000001] AppCheck failed: 'The operation couldn’t be completed. Too many attempts. Underlying error: The operation couldn’t be completed. The server responded with an error:
- URL: https://firebaseappcheck.googleapis.com/v1beta/projects/xxxxx/apps/xxxxxx:ios:xxxxx:exchangeDeviceCheckToken
- HTTP status code: 400
- Response body: {
"error": {
"code": 400,
"message": "App not registered: xxxx:ios:xxxxx.",
"status": "FAILED_PRECONDITION"
}
}
这个应用程序已经在Firebase控制台的应用程序检查中注册了。我重新下载了我的GoogleService-Info。仍然不起作用。有什么想法吗?
1条答案
按热度按时间nzkunb0c1#
您是否在Apple Developer上启用了DeviceCheck?
并将密钥上传到Firebase控制台,
对于AppAttest,需要将其添加到标识符上的功能
然后将其添加到Xcode项目中。(Cannot find App Attest Capability in XCode)
(if在
Identifier
上启用应用程序证明,现有profiles
将失效)https://developer.apple.com/account/resources/profiles/list