首页 > 解决方案 > Unable to install pkpass with error Class UpdateAndReportServices is implemented in both

问题描述

  1. 按照https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/YourFirst.html创建了我的第一个 iOS 通行证。
  2. 尝试在模拟器中安装生成的 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.

并且通行证没有安装

标签: iosxcodewallet

解决方案


我的问题是teamIdentifierJSON 中的 ID 是错误的。它应该是 ID 而不是名称 - 非常令人困惑的文档。


推荐阅读