I am creating keyboard with UIInputViewController and has this debug output. Anyone knows how to silent this.

2023-03-15 16:49:27.504266-0400 Flip[32191:1879406] [WindowServer] Failed to register for CADisplay change notifications: 0x9

2023-03-15 16:49:27.505090-0400 Flip[32191:1879406] [WindowServer] Failed to register for CADisplay power notifications: 0x9

2023-03-15 16:49:27.549439-0400 Flip[32191:1879406] [Common] BKSAccelerometer unable to create notifyd token for device orientation

2023-03-15 16:49:27.549252-0400 Flip[32191:1879672] [default] Failed to register for server availability: 9

2023-03-15 16:49:27.736276-0400 Flip[32191:1879406] [Default] Unable to register for test daemon availability notification.

2023-03-15 16:49:27.737912-0400 Flip[32191:1879406] [Default] Unable to register token for checking test daemon availability.

2023-03-15 16:49:27.739657-0400 Flip[32191:1879406] [Default] Unable to register for test daemon availability notification.

2023-03-15 16:49:27.741339-0400 Flip[32191:1879406] [Default] Unable to register token for checking test daemon availability.

2023-03-15 16:49:27.743108-0400 Flip[32191:1879406] [Default] Unable to register for test daemon availability notification.

2023-03-15 16:49:27.745075-0400 Flip[32191:1879406] [Default] Unable to register token for checking test daemon availability.

2023-03-15 16:49:27.846015-0400 Flip[32191:1879666] [ServicesDaemonManager] invalidationHandler is called. -[FontServicesDaemonManager connection]_block_invoke_2

2023-03-15 16:49:27.846806-0400 Flip[32191:1879666] [ServicesDaemonManager] xpc error: -[FontServicesDaemonManager checkin:]_block_invoke - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fontservicesd was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.fontservicesd was invalidated: failed at lookup with error 159 - Sandbox restriction.}

  • Notice can be registered on the simulator, but the real machine cannot be registered. is it a certificate problem?

  • Same here. Simulator ok. But real device showing up those runtime errors. I don't think it's certificate. It happens on very basic setup. I haven't started working on yet.

Add a Comment

Replies

The problem I encountered is the same as yours. Have you solved your problem?

  • I am still looking for solution. Which iphone did the error show up for you? Mine is 13.

  • 模拟器可以收到CFNotificationCenterRef的消息,真机iPhone Xs Max 无法监听通知,并且控制台会输出 无法注册通知的警告,所以我怀疑是否是证书或者描述文件的问题,但我没有测试过! 后来放弃使用CFNotificationCenterRef! 因为从主app切换到extension app 时extension app的会被重新初始化,我在初始化方法中读取userdefaults的值,使用了这种通信方式!

Add a Comment