RPRecordingErrorCode.contentResize prevents recording unexpectedly

Originator:hannes.oud.dev
Number:rdar://47948315 Date Originated:10-Feb-2019 02:51 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:12.1.4
Classification:Serious Bug Reproducible:Unable
 
Summary:
My app was rejected by review because this error prevented screen recording.
However I do not have any clue why this error occurred to the reviewers, but I have never seen it locally, so I wonder if there might be an underlying issue.

Please describe under which circumstances this error code is expected, and if there is a workaround to this issue.

There seems to be known issues around it as described in  
https://forums.developer.apple.com/thread/109696

Steps to Reproduce:
https://forums.developer.apple.com/thread/109696 mentions two radars with sample projects 45277846, 45942896

Begin Screenrecording with 
startCapture(handler captureHandler: ((CMSampleBuffer, RPSampleBufferType, Error?) -> Void)?, completionHandler: ((Error?) -> Void)? = nil)

Expected Results:
Screenrecording should succeed under normal circumstances

Actual Results:
Screenrecording fails with error „Recording interrupted by multitasking and Content Resizing“

Version:
12.1.4

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!