iOS Development

Kvitto 1.0.5 | Cocoanetics

Written by admin


Following the earlier launch, I acquired phrase that Apple had added a brand new sort of gross sales receipt which is used for IAP testing. This launch provides help for these.

Modifications

  • NEW: Added help for indefinite size encoding for containers
  • NEW: Added help for decoding date strings with a UTC offset as an alternative of Z.

For first change was accomplished in DTFoundation which accommodates DTASN1, our ASN.1 decoder. When writing an ASN.1 file you’d usually know all lengths of all containers and primitive values and so you can specify the size following every tag. Apple was doing so in all gross sales receipts thus far and we didn’t have any difficulty with it.

In Xcode 12, Apple added a brand new means of testing In-App purchases (see Introducing StoreKit Testing in Xcode WWDC 2020 speak for more information).  This broke parsing.

They began utilizing indefinite size encoding for numerous container parts, together with however not restricted to the PKCS7 container. As soon as I had applied that, I discovered that additionally they had a sure date with +0300 as timezone, as an alternative of Z (for UTC) as we had beforehand encountered. So I wanted so as to add this variant as effectively.

The replace was tagged on GitHub (which additionally serves as new launch for Swift Bundle Supervisor) and can also be obtainable through Cocoapods.



Additionally printed on Medium.


Tagged as:

Classes: Updates

About the author

admin

Leave a Comment