Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVAssetWriter finishWriting fails on iOS 6 Simulator

It seems that finishWriting is broken on iOS 6 simulator - it hangs forever. It's now deprecated and replaced by the new finishWritingWithCompletionHandler: - which also never calls the handler.

On real devices running iOS 6, this works just fine as it always did. Also in previous iOS simulators it works just fine. Seems like a bug in iOS 6 simulator.

Anyone else experiencing this or can prove me wrong?

like image 852
user1574100 Avatar asked Sep 20 '12 17:09

user1574100


1 Answers

I had this issue as well, then realized that I wasn't calling endSessionAtSourceTime: after starting one. This resolved my issue.

like image 53
Dan Grover Avatar answered Nov 14 '22 17:11

Dan Grover