Awalz / SwiftyCam

A Snapchat Inspired iOS Camera Framework written in Swift
BSD 2-Clause "Simplified" License
2.08k stars 326 forks source link

Unable to run SwiftyCam on ios12 [SwiftyCam]: Could not create video device input: Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" #188

Closed geoffbullen closed 6 years ago

geoffbullen commented 6 years ago

I get the below error when I run the demo app (as well as my own) on ios12 but not ios 11 on an iPhone 6S.

Note: this was working before which is why I suspect something has changed in a recent iOS release.

2018-10-12 12:44:54.223397+1100 DemoSwiftyCam[259:6688] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-10-12 12:44:54.223781+1100 DemoSwiftyCam[259:6688] [MC] Reading from public effective user settings. [SwiftyCam]: Could not create video device input: Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" UserInfo={NSLocalizedDescription=Cannot Record, NSLocalizedRecoverySuggestion=Try recording again.}

geoffbullen commented 6 years ago

This was a hardware issue with my device camera (as well as an error you get on the simulator). Closing!