UIFontPickerViewController screen font is broken or black screen issue

We are working on a screen that registers fonts using UIFontPickerViewController.

Sometimes when I run UIFontPickerViewController I just get a black screen. Or, the font of the UI inside UIFontPickerViewController is broken and displayed as strange special characters.

When displayed as a special character, screen scrolling becomes slow and the font is not displayed in the list when scrolling down.

When this happens, the Xcode debug window shows “error received: connection invalidated.” This error message is displayed.

This happened to me often while developing UIFontPickerViewController .

Could you please advise how to resolve this issue? Or, I hope Apple resolves the issue quickly and updates.

The development device where the issue occurs is iPhone SE3 iOS 17.4.

When this error message appears, the app also dies. =

Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port No setting found for property named "_UISceneHostingClientSettingsExtension"

When this error message appears, the app also dies. 2 =

Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)}> (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port No setting found for property named "_UISceneHostingClientSettingsExtension"

When this error message appears, the app also dies. 3 =

Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)}> (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port No setting found for property named "_UISceneHostingClientSettingsExtension" [S:5] Error received: Connection invalidated. Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c989f0; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0600; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c982a0; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0900; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c9c7b0; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0c30; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c9c540; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0240; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c9c510; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0e70; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c9c4e0; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0960; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; } Scene _UISceneHostingWorkspaceController-CC815BB0-854C-477E-95CC-E92763336A9C/UIHostedScene-FAAE894E-B0A7-4FD0-8A57-310EC55C48F0 update failed: <NSError: 0x300c9daa0; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x300ca0990; domain: BSServiceConnectionErrorDomain; code: 3 ("OperationFailed"); "XPC error received on message reply handler">; }

Even after the 17.4.1 update, the same symptom continues to occur.

UIFontPickerViewController screen font is broken or black screen issue
 
 
Q