Ios XCode控制台:警告!单一人格模棱两可;这可能会导致不规则的行为-在键盘扩展中
我有一个iOS应用程序,由自定义键盘扩展及其容器应用程序组成。当我尝试调试自定义键盘扩展时,我在XCode控制台中得到了以下相当令人不安的日志:Ios XCode控制台:警告!单一人格模棱两可;这可能会导致不规则的行为-在键盘扩展中,ios,swift,xcode,debugging,custom-keyboard,Ios,Swift,Xcode,Debugging,Custom Keyboard,我有一个iOS应用程序,由自定义键盘扩展及其容器应用程序组成。当我尝试调试自定义键盘扩展时,我在XCode控制台中得到了以下相当令人不安的日志: EasyType Keyboard[84937:5754706] [lifecycle] [u 9061FF85-F4D2-401A-94C2-73377E20E419] [com.easytype.EasyType.Keyboard(1.7.1)] WARNING! Sole personality is ambiguous; this may le
EasyType Keyboard[84937:5754706] [lifecycle] [u 9061FF85-F4D2-401A-94C2-73377E20E419] [com.easytype.EasyType.Keyboard(1.7.1)] WARNING! Sole personality is ambiguous; this may lead to erradic behavior; personalities: {
"com.easytype.EasyType.Keyboard" = {
685 = "<PKServicePersonality: 0x283175340; core = <PKPlugInCore: 0x283175340; uuid = [9061FF85-F4D2-401A-94C2-73377E20E419], identifier = [com.easytype.EasyType.Keyboard(1.7.1)], isAppExtension = 1, onSystemVolume = 0, containingBundle = [(null)], lastModified = 0, discoveryInstanceUUID = [(null)], path = [/private/var/containers/Bundle/Application/762C0B3C-A600-4AB4-AB84-AB2019FA053C/EasyType.app/PlugIns/EasyType Keyboard.appex]>, host pid = 685>";
84881 = "<PKServicePersonality: 0x2831782a0; core = <PKPlugInCore: 0x2831782a0; uuid = [DAEEF528-9AB6-4482-95E9-03E6BB353BBD], identifier = [com.easytype.EasyType.Keyboard(1.7.1)], isAppExtension = 1, onSystemVolume = 0, containingBundle = [(null)], lastModified = 0, discoveryInstanceUUID = [(null)], path = [/private/var/containers/Bundle/Application/762C0B3C-A600-4AB4-AB84-AB2019FA053C/EasyType.app/PlugIns/EasyType Keyboard.appex]>, host pid = 84881>";
};
}
没有答案,但与我一起工作的团队中的应用程序开发人员也有同样的问题。我只是问他们是如何解决的,他们告诉我,他们只是不断地尝试构建过程,最终会成功。他们不使用那个插件,但它很可能是WidgetKit中的一个bug。
EasyType Keyboard[85190:5767015] [lifecycle] WARNING! Sole personality requested when nil; THIS MAY BE A SPURIOUS LAUNCH OF THE PLUGIN due to a message to an XPC endpoint other than the main service endpoint; personalities: {
"com.easytype.EasyType.Keyboard" = {
79474 = "<PKServicePersonality: 0x2828c0700; core = <PKPlugInCore: 0x2828c0700; uuid = [706FFAE3-DC72-4DBB-AC32-C2CFFD0BD992], identifier = [com.easytype.EasyType.Keyboard(1.7.1)], isAppExtension = 1, onSystemVolume = 0, containingBundle = [(null)], lastModified = 0, discoveryInstanceUUID = [(null)], path = [/private/var/containers/Bundle/Application/648263C7-603F-458E-AB8D-9109DD2C0D80/EasyType.app/PlugIns/EasyType Keyboard.appex]>, host pid = 79474>";
};
}