rFlex / SCRecorder

iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Apache License 2.0
3.06k stars 583 forks source link

App crashes on iOS10 on "commitConfiguration" #357

Closed XLW-Jeroen closed 7 years ago

XLW-Jeroen commented 7 years ago

I've been using SCRecorder for a while now and it works great, however, it always crashes on iOS10 devices. When I try it on iOS8 or iOS9, it still works fine.

On iOS10 devices it always crashes in SCRecorder.m on line 179: [_captureSession commitConfiguration]

It crashes with an EXC_BAD_ACCESS error. So I honestly don't know why this works on iOS9, but not on iOS10. I have downloaded the latest version. The fact that I see no other people posting this issue kind of blows my mind. Does it work for everyone on iOS10? If so, what could I be doing wrong? Did you have to change something in your transition to iOS10?

Any help would be greatly appreciated.

XLW-Jeroen commented 7 years ago

I have found out what the issue is. I was simply missing the new iOS10 NSMicrophoneUsageDescription in the target' plist. So it turns out this gives a EXC_BAD_ACCESS crash... A correct error description would've saved me a lot of time, but oh well, I'm happy this problem is now solved.

I'm closing this issue.