iOS 13 Beta P4 AVAssetExportSession fails to save randomly

I have been trying to export and save the videos from my application into the photo album.

This logic works fine in all ios versions <13; For ios 13 I am experiencing random fails with the following error.


Error : Optional("Optional(Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSUnderlyingError=0x281471920 {Error Domain=NSOSStatusErrorDomain Code=-16979 \"(null)\"}, NSLocalizedFailureReason=An unknown error occurred (-16979), NSURL=file:///private/var/mobile/Containers/Data/Application/68F85E61-0D7B-4DF8-86E7-2589F9A08FF5/Documents/02-Aug-2019%20at%201:36:21%20pm.mov, NSLocalizedDescription=The operation could not be completed})")


Replies

I think I got the same problem as yours. Could anyone help?

Any luck with this? I am experiencing the same issue

Also having this issue saving audio as .m4a I made changes all day and it's still throwing the same error codes. Any luck?