I get the same error when the following method is called:mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError *)errorIt happens when I cancel the modally presented email view.
Post
Replies
Boosts
Views
Activity
I have the same issue
I am having the same problem since yesterday. I restarted the app but no luck. Were you able to fix the issue?
Same here, no updates since July 20, 2021.
If you have a lot of purchases, your old transactions are truncated in the sandbox environment. According to Apple:
Receipts for auto-renewable subscriptions can grow over time since the renewal transactions stay in the receipt forever. To optimize performance, the App Store may truncate sandbox receipts to remove old transactions. When validating receipts for transactions made in the sandbox environment, consider creating new test accounts instead of reusing old accounts to test subscription purchases.
[https://developer.apple.com/documentation/appstorereceipts]
Same problem here. It seems the problem is lack of communication with the App Store Connect. Some have mentioned that waiting and trying again may fix it.
Now you can simply use this:
if ([NSProcessInfo processInfo].isiOSAppOnMac) {
NSLog(@"iOS app is running on MAC");
}