Post

Replies

Boosts

Views

Activity

SKDownload.progress stops at 0.80
I have ported an iPhone/iPad app to macOS using Catalyst. The existing iPhone/iPad app contains non-consumable in-app purchases, which have been tested and are live in production. No complaints from iPhone/iPad users. I'm having trouble testing hosted content on the macOS version. When I try to download a hosted IAP, the progress continues up to 80%, at which point it stops. If I launch the app from the command line, I can see an error message as "The installation could not be started" and, looking at the path of the downloaded archive, it looks complete. So, if I can trust the log from running from the command line, I suspect there may be some permissions issue in testing macOS hosted content downloads. Here is my current workflow, sign out of App Store and iCloud on my development machine. clean build folder and build for "Any Mac" (though I've also tried "My Mac" with no difference; build scheme checks all boxes: analyze, test, run, profile, archive). find build in the "Products" folder in the left rail. click on "Show in Finder". Launch from Finder. Purchase IAP using sandbox account (tested with an older account used for the iPhone/iPad testing and a new one created after I started testing the macOS version; the "Environment: Sandbox" text appears when I make the purchase). Download starts and goes up to 80%, at which point the SKDownload.state is .failed. Other notes, I also uploaded a macOS build to App Store in the process, though I obviously have not released it. XCode Version 12.2 (12B45b) macOS 10.15.7 (19H2) It looks like there have been previous issues like - https://developer.apple.com/forums/thread/9890 this, - https://stackoverflow.com/questions/28681456/storekit-skdownload-progress-does-not-complete though without clear steps to resolution. Any help would be appreciated. Thanks.
3
0
989
Nov ’20