title: Swift - The file couldn’t be opened because you don’t have permission to view it
body: <p>I'm saving to <code>FileManager.default.documentDirectory</code> the <strong>url</strong> as <strong>string</strong> for some video I select from <strong>Library</strong>. I am able to load and use them with no problem, but if I run the app again, when I load the array of url, I can't use them as I get this error:</p>
  
  <blockquote>
    <p>The file couldn’t be opened because you don’t have permission to view it.</p>
  </blockquote>
  
  <p>of this one</p>
  
  <blockquote>
    <p>The requested URL was not found on this server.</p>
  </blockquote>
  
  <p>I have tried all solutions I could find googling the errors, but nothing solve it.
  Any help will be much appreciated. </p>
  
  <p>I'm developing for iOS. Xcode Version 11.3.1</p>