One user reported to me that he could not restore his purchases on the iOS app running on Mac (in Designed for iPad mode).
After investigation, the issue is that even if the appStoreReceiptURL is correctly created, it has some permissions that makes it not readable by the app (nor the Finder).
So dataWithContentsOfURL returns nil because the file cannot be accessed.
Changing the files permissions manually (using setAttributes of the NSFileManager) for the receipt file seems to be a working workaround.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: