kishikawakatsumi / ScreenRecorder

Capturing a screen as videos on iOS devices for user testing.
MIT License
315 stars 73 forks source link

Screen is not recordering in iPhone 7 and above. #10

Open Rageeni opened 6 years ago

Rageeni commented 6 years ago

Video writer gives error while recording.

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12905), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x1c0a43510 {Error Domain=NSOSStatusErrorDomain Code=-12905 "(null)"}}

I checked and found that in info.plist LaunchStory property is missing due to this screen recorder not worked. I have removed that property and add default.png images (In short change combability of the device). It works but this is not correct the way and Apple not allow me to submit the App with this feature.

Please give me a proper solution or suggestion regarding this.

kishikawakatsumi commented 6 years ago

ScreenRecorder is made for testing purpose. I don't consider an app which uses this library can be distributed via AppStore. I think it's better to use official solution like ReplayKit.

Rageeni commented 6 years ago

Ok Thanks for quick response.