解析ios中的pkpass时“无法解析relatedDate”错误

时间:2013-12-10 14:48:47

标签: iphone

无法创建传递

Error Domain=PKPassKitErrorDomain Code=1 "The pass cannot be read because it isn't valid."
UserInfo=0x1405a480 {NSUnderlyingError=0x14059950 "Unable to parse relevantDate 2013-12-05T06:00:00.000Z as a date. 
We expect dates in "W3C date time stamp format", either "Complete date plus hours and minutes" or 
"Complete date plus hours, minutes and seconds". For example, 1980-05-07T10:30-05:00.", NSLocalizedDescription=The pass cannot be read because it isn't valid.}

有人可以帮我吗?

1 个答案:

答案 0 :(得分:0)

格式有效。听起来像Passbook中的一个错误。它无法解析UTC时区。