giridharvc7 / ScreenRecord

A Wrapper for Screen Recording on iOS with ReplayKit2
MIT License
126 stars 40 forks source link

Crashing app with new OS 12 #7

Open ChandraPrakashJangid opened 5 years ago

ChandraPrakashJangid commented 5 years ago

2018-09-22 15:02:00.597851+0530 ScreenRecordDemo[14349:4011509] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. 2018-09-22 15:02:00.888437+0530 ScreenRecordDemo[14349:4011509] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/chandra/Library/Developer/CoreSimulator/Devices/3415E1C9-661B-4F2B-98AB-CCA915914156/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-09-22 15:02:00.889672+0530 ScreenRecordDemo[14349:4011509] [MC] Reading from private effective user settings. Recording in progress Recording Complete 2018-09-22 15:02:23.034510+0530 ScreenRecordDemo[14349:4011509] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: ' -[AVAssetWriter finishWritingWithCompletionHandler:] Cannot call method when status is 0' *** First throw call stack: ( 0 CoreFoundation 0x0000000102ad129b exceptionPreprocess + 331 1 libobjc.A.dylib 0x0000000101bf3735 objc_exception_throw + 48 2 AVFoundation 0x000000010260cf9d -[AVAssetWriterHelper _transitionToClientInitiatedTerminalStatus:] + 0 3 ScreenRecordDemo 0x000000010129de65 $S16ScreenRecordDemo0A8RecorderC13stopRecording7handleryys5Error_pSgctFyAGcfU + 309 4 ScreenRecordDemo 0x000000010129dee5 $S16ScreenRecordDemo0A8RecorderC13stopRecording7handleryys5Error_pSgc_tFyAGcfU_TA + 21 5 ScreenRecordDemo 0x000000010129db3f $Ss5Error_pSgIegg_So7NSErrorCSgIeyBy_TR + 111 6 ReplayKit 0x00000001038267a7 43-[RPScreenRecorder stopCaptureWithHandler:]_block_invoke + 111 7 ReplayKit 0x000000010382d022 -[RPDaemonProxy stopRecordingWithHandler:] + 118 8 ReplayKit 0x000000010382670c -[RPScreenRecorder stopCaptureWithHandler:] + 195 9 ScreenRecordDemo 0x000000010129dd07 $S16ScreenRecordDemo0A8RecorderC13stopRecording7handleryys5Error_pSgctF + 327 10 ScreenRecordDemo 0x0000000101298fe6 $S16ScreenRecordDemo0aB11CoordinatorC13stopRecordingyyF + 134 11 ScreenRecordDemo 0x0000000101298cac $S16ScreenRecordDemo0aB11CoordinatorCACycfcyycfU + 44 12 ScreenRecordDemo 0x0000000101298d0d $S16ScreenRecordDemo0aB11CoordinatorCACycfcyycfU_TA + 13 13 ScreenRecordDemo 0x000000010129aaaa $S16ScreenRecordDemo10WindowUtilC13stopRecordingyyF + 122 14 ScreenRecordDemo 0x000000010129ab0a $S16ScreenRecordDemo10WindowUtilC13stopRecordingyyFTo + 42 15 UIKitCore 0x000000010e5167c3 -[UIApplication sendAction:to:from:forEvent:] + 83 16 UIKitCore 0x000000010e64ee85 -[UIControl sendAction:to:forEvent:] + 67 17 UIKitCore 0x000000010e64f1a2 -[UIControl _sendActionsForEvents:withEvent:] + 450 18 UIKitCore 0x000000010e64dc0d -[UIControl touchesBegan:withEvent:] + 282 19 UIKitCore 0x000000010ed2908f -[UIWindow _sendTouchesForEvent:] + 2052 20 UIKitCore 0x000000010ed2aa30 -[UIWindow sendEvent:] + 4080 21 UIKitCore 0x000000010e530e10 -[UIApplication sendEvent:] + 352 22 UIKitCore 0x000000010e4690d0 dispatchPreprocessedEventFromEventQueue + 3024 23 UIKitCore 0x000000010e46bcf2 handleEventQueueInternal + 5948 24 CoreFoundation 0x0000000102a34b31 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 25 CoreFoundation 0x0000000102a343a3 CFRunLoopDoSources0 + 243 26 CoreFoundation 0x0000000102a2ea4f CFRunLoopRun + 1263 27 CoreFoundation 0x0000000102a2e221 CFRunLoopRunSpecific + 625 28 GraphicsServices 0x00000001084cd1dd GSEventRunModal + 62 29 UIKitCore 0x000000010e515115 UIApplicationMain + 140 30 ScreenRecordDemo 0x0000000101295a44 main + 68 31 libdyld.dylib 0x0000000105a04551 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException