Starting with iOS 13.0, I've been seeing a new error showing up in my logs from users. The error is passed to the completion handler of NSBundleRequest.beginAccessingResources.
The error has the domain “AssetErrorDomain”, code 6, with an NSDebugDescription of “Asset URL has expired”. Not all users are encountering this issue, and I have been unable to reproduce it locally.
I don’t really understand what this error represents, how I should respond to it, or how users end up in this state. I’ve had one user report to me that deleting and reinstalling the app was the only way they were able to fix the issue.
Has anyone seen this issue in their own app?
Update
I filed a TSI with Apple, and they responded with the following:
I’ve been seeing this issue pop up for developers recently. We do not have a workaround at the moment, but we are working towards one.
I also filed a radar (FB7416830), and it's marked as having "Recent Similar Reports: More than 10". So it's clearly a widespread problem.