3 Replies
      Latest reply on Jan 7, 2020 4:28 AM by abhinavJhaIndia
      cong.nguyen Level 1 Level 1 (0 points)

        I'm using AVAggregateAssetDownloadTask to download HLS streams. It works fine on iOS12.

        But when using Xcode 11 to build and run on iOS 13, the download task fails right after starting. I got an error with code = -1 (NSURLErrorUnknown) returned from the delegate. Trying to debug the underlying process by using the Console app, I got a weird error as bellow:


        Task <>.<2> for client <private> does not have write access to destination directory (null)


        I'm not sure if it can affect the download task but this error didn't appear when I run on iOS 12 (successful download), but it so straight. I believe there was something to go wrong.


        Does anyone know this issue?