Post

Replies

Boosts

Views

Activity

AVAssetWriter error code on finishWriting
Hello guys, I constantly keep getting error code -12780 while saving the file.Configuration isAVAssetWriterInput(mediaType: AVMediaType.video, outputSettings: [ AVVideoCodecKey: AVVideoCodecType.h264, AVVideoWidthKey: floor(UIScreen.main.bounds.width / 16) * 16, AVVideoHeightKey: floor(UIScreen.main.bounds.height / 16) * 16, AVVideoCompressionPropertiesKey: [ AVVideoAverageBitRateKey: 2300000, ], ])I don't understand what NSOSStatusErrorDomain -12780 means. The localized description is The operation could not be completed.Other than that I discovered that on my iOS 13 beta device the error code is: -17508,but still is The operation could not be completed.
6
0
5.7k
Aug ’19
EXC_CRASH (SIGABRT) CFRunLoopRunSpecific
Hello, I'm seeking some help after looking at some of our crash log reports. I'll post here one example: crashlog.crash From the look of it, seems to be a crash caused by the OS. Reason being that looking at the thread 0, the frame 10 is our app setting up the AppDelegate (AppDelegate.swift:11 is the class declaration). After that all the other frames are specifying code deep in the UIKit and CoreFoundation frameworks. Have anyone seen something like that? Could this be an out-of-memory crash? Thanks in advance!
2
0
1.3k
Jan ’23