VerifyStoreReceiptiOS
VerifyStoreReceiptiOS copied to clipboard
A helper class for verifying App Store receipts under iOS.
Hi, With the upcoming changes to the App Store receipt signing certificate (see https://developer.apple.com/news/?id=ytb7qj0x), could anyone confirm the the code from this repository will still work correctly ? Thank you.
build with xcode Version 11.7 (11E801a)
build with xcode Version 11.7 (11E801a)
In my own testing based on this code, I noticed that the Expiration Date field in the app receipt was not being handled at all. This is required if you...
Can you provide Swift version or how to use it?
Is there something nuanced happening here? VerifyStoreReceipt.m dictionaryWithAppStoreReceipt() ``` objective-c // Attribute version ASN1_get_object(&p, &length, &type, &xclass, seq_end - p); if (type == V_ASN1_INTEGER && length == 1) { attr_version...
Suppressed Clang Static Analyzer hit for unread attr_version variable (might be handy in future versions).
As discussed in #1 use CFBundleVersion instead of CFBundleShortVersionString for validation.
if you include VerifyStoreReceipt.h into an AppDelegate.mm the linking will fail with this message: Undefined symbols for architecture armv7: "verifyReceiptAtPath(NSString*)", referenced from: -[AppDelegate validateReceipt:tryAgain:] in AppDelegate.o ld: symbol(s) not found...