title: Document directory path change when rebuild application
body: <p>I download the video file from url and save it in document directory with this path: </p>
  
  <pre><code>  let destination: DownloadRequest.DownloadFileDestination = { _, _ in
        let pathComponent = "pack\(self.packID)-\(selectRow + 1).mp4"
        let directoryURL: URL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
        let folderPath: URL = directoryURL.appendingPathComponent("Downloads", isDirectory: true)
        let fileURL: URL = folderPath.appendingPathComponent(pathComponent)
        return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
      }
  </code></pre>
  
  <p>my video is downloaded and plays successfully.
  but there is a problem, when I rebuild application in Xcode and try to play the last video that I downloaded, video is not shown, and when I download a new video this save and play successfully. </p>
  
  <p>I've seen each video bundle path, they are different.</p>
  
  <p>1 - file:///Users/myMac/Library/Developer/CoreSimulator/Devices/<strong>EAC2F4CE-EA09-46C0-B403-1CE9E24B6822</strong>/data/Containers/Data/Application/1D2C1F7B-E627-4898-91C1-D0AF8D5E0F1E/Documents/Downloads/pack7-1.mp4</p>
  
  <p>2 - file:///Users/myMac/Library/Developer/CoreSimulator/Devices/EAC2F4CE-EA09-46C0-B403-1CE9E24B6822/data/Containers/Data/Application/<strong>F950E9A5-C9F3-4B8C-BCF5-647EEC233CEE</strong>/Documents/Downloads/pack7-3.mp4</p>
  
  <p>Now, my question is, when we update the app from the App Store, it means a reinstallation? Does this path change?</p>
  
  <p>how can solve this problem?</p>