草庐IT

DrmInvalidArgumentException

全部标签

ios - 验证 App 商店收据给出 DrmInvalidArgumentException

我正在关注此处的文档。https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html我有一份来self的团队的收据数据,我正在尝试验证,他们收到错误代码21002,这是格式错误的JSON。看起来他们在base64数据上附加了额外的参数,所以我尝试删除这些参数并发送:-(void)viewDidLoad{[superviewDidLoad];NSData*receipt;//Senttotheserverbythe