ios - Unable to install pkpass with error Class UpdateAndReportServices is implemented in both
问题描述
- 按照https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/YourFirst.html创建了我的第一个 iOS 通行证。
- 尝试在模拟器中安装生成的 pkpass 后,错误日志中显示以下错误:
local rtcreportingd[71750]: objc[71750]: Class UpdateAndReportServices is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/RTCReporting.framework/RTCReporting (0x7fff8938bfd8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/libexec/rtcreportingd (0x10b2333a8). One of the two will be used. Which one is undefined.
并且通行证没有安装
解决方案
我的问题是teamIdentifier
JSON 中的 ID 是错误的。它应该是 ID 而不是名称 - 非常令人困惑的文档。
推荐阅读
- c# - 对 https://oauth2.googleapis.com/token 的发布请求在代码中一直失败,在 Postman 上工作
- visual-studio-2019 - 是否可以使用带有 .NET Core 3.0 的 Visual Studio 2019 进行负载测试?
- c - 在循环中使用管道在进程之间传递值
- grails - 如何使用注解在 Grails 4 上创建 OpenAPI (Swagger) 文档
- python - Hadoop:无法使用 python 连接到 HDFS(Hadoop)
- reactjs - 在按钮上的 onClick 事件之后将下拉值设置回占位符或第一个选项?
- angular - 同时更改两条独立的路由 - 这可以通过辅助路由完成吗?
- javascript - GetStream.io 聊天 API - 停止侦听 Stream 中的频道事件
- javascript - 如何使用 React 切换消息(Test-Dome 解决方案1)
- python - CSP 不接受内联脚本哈希或随机数