重启设备后,如果我直接访问“今日”窗口小部件,则我的应用程序的“今日”窗口小部件将显示为“无法加载”(但是-如果-重启设备后,首先打开我的应用程序,然后访问“今日”窗口小部件,则一切正常)
我尝试了一些方法,但是没有办法调试此问题。我尝试使用“ iOS控制台”,并获得以下错误日志:
键错误日志:
Sep 19 18:37:37 My-iPhone SpringBoard(Widgets)[58] <Notice>: <com.***.***: 0x109008200; container: WGWidgetListItemViewController> Remove snapshots at file:///private/var/mobile/Containers/Data/PluginKitPlugin/3E4710C0-9E8F-4F87-B6DA-D7072057B92D/Library/Caches/com.apple.notificationcenter/Snapshots/com.***.***-PhoneTall-359-zh_CN-UICTContentSizeCategoryL-NCWidgetDisplayModeCompact.ca/ due to error: Error Domain=CAARFileLoadingDomain Code=950000 "(null)" UserInfo={NSUnderlyingError=0x1cc448f40 {Error Domain=CoreAnimationErrorDomain Code=2 "Unable to load CAPackage from URL: index.xml
Sep 19 18:37:39 My-iPhone SpringBoard(PlugInKit)[58] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.***.***" UserInfo={NSDebugDescription=connection to service named com.***.***}
Sep 19 13:36:16 My-iPhone backboardd(BaseBoard)[659] <Error>: Unable to bootstrap_look_up port with name com.xxxx.Extension.gsEvents: unknown error code (1102)
Sep 19 13:36:17 My-iPhone xxxxExtension(CoreFoundation)[996] <Error>: Couldn't read values in CFPrefsPlistSource<0x1d411a940> (Domain: group.com.xxxx.extension-df, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd