No, endecotp, I can check what it's running on at run-time but that's not the problem. You can't build the project using AppTransaction unless you target at least 13. And there are some conversations about @available on these forums but not in the developer documentation.
Also if you target something like 10.15 you will get a whole bunch of compiler warnings about the security functions in your verification code being deprecated.
[MyAppTransaction checkReceiptWithCompletionHandler:^(NSString * _Nonnull status) {
NSLog(@"status: %@", status);
}];
Won't build - unknown object MyAppTransaction. Maybe some guidance about what to put in the bridging header would help?
Topic:
App & System Services
SubTopic:
StoreKit