I have been trying to add Xcode’s support for StoreKit testing for my Mac app.
I am able to test the flow of my in-app purchase, with each alert stating [Environment: Xcode], but once I finish a transaction I don’t seem to get an updated receipt in my app bundle’s _MASReceipt folder.
I've tried calling exit(173), but I think that still ends up using the sandbox environment instead of using the Xcode environment. I also tried SKReceiptRefreshRequest, but I always seem to get this error: "Invalid or missing receipt data (0 bytes)".
Any ideas? Am I misunderstanding something?
Thanks
I am able to test the flow of my in-app purchase, with each alert stating [Environment: Xcode], but once I finish a transaction I don’t seem to get an updated receipt in my app bundle’s _MASReceipt folder.
I've tried calling exit(173), but I think that still ends up using the sandbox environment instead of using the Xcode environment. I also tried SKReceiptRefreshRequest, but I always seem to get this error: "Invalid or missing receipt data (0 bytes)".
Any ideas? Am I misunderstanding something?
Thanks