title: What does the iOS On Demand Resource error "Asset URL has expired" (AssetErrorDomain code 6) mean?
body: <p>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 <a href="https://developer.apple.com/documentation/foundation/nsbundleresourcerequest/1614840-beginaccessingresources" rel="nofollow noreferrer">NSBundleRequest.beginAccessingResources</a>.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>Has anyone seen this issue in their own app?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I filed a TSI with Apple, and they responded with the following:</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <p>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.</p>