Unable to export AVPlayerItem
问题 I'm using AVQueuePlayer to do playback of a list of videos in our app. I'm trying to cache the videos that are played by AVQueuePlayer so that the video doesn't have to be downloaded each time. So, after the video finishes playing, I attempt to save the AVPlayerItem into disk so next time it's initialized with a local URL. I've tried to achieve this through two approaches: Use AVAssetExportSession Use AVAssetReader and AVAssetWriter. 1) AVAssetExportSession approach This approach works like