Post not yet marked as solved
Post marked as unsolved with 0 replies, 163 views
I am developing an app for iphone only, including a monthly subscription.
Receipt validation is done on the server side and using the framework's swiftystorekit.
In the actual machine test, the receipt verification succeeds on the iphone,
but it not succeed when on the iPad.
The error code is as follows.
—-
21002(The data in the receipt-data property was malformed or missing)
—-
In the review, it was rejected because it must be possible to display even apps that are not compatible with iPad.
In the early stages of development, we planed to support iPad as well, and set xcode.
While preparing to submit to the review, I deselected the app for iPad in the xcode settings.
Is this affecting?
It's as if the build is in store kit test mode only on the iPad.
I can't find a reason why iphone can successfully perform receipt verification in a sandbox environment but iPad can't.
I tried the following:
· Clean the build and restart xcode
· Try switching between the store kit test and the sandbox test alternately.
· Check iPad support on xcode setting
· Try installing the app on your iPad from a test flight
But none of them changed the result.
Can you give me an idea of what fixes and changes I can try?
I would appreciate it if you could teach me.