【问题标题】:Xamarin.iOS release mode error: HW kbd: Failed to set (null) as keyboard focusXamarin.iOS 发布模式错误:HW kbd:无法将(null)设置为键盘焦点
【发布时间】:2020-06-03 14:00:50
【问题描述】:

帮助!!!在我的 iOS Xamarin 应用程序中,调试模式适用于我,但在发布模式下,应用程序在启动时崩溃,我发现这两个日志:

HW kbd: Failed to set (null) as keyboard focus

Can't get most elevated app state from dictionary {
BKSApplicationStateExtensionKey = 0;
SBApplicationStateDisplayIDKey = "com.xxxxx.xxxxxxxx";
SBApplicationStateKey = 0;
SBApplicationStateProcessIDKey = 900;
SBApplicationStateRunningReasonsKey =     (
            {
        SBApplicationStateRunningReasonAssertionIdentifierKey = "FBSceneSnapshotAction:com.xxxxx.xxxxxxxx";
        SBApplicationStateRunningReasonAssertionReasonKey = 4;
    },
            {
        SBApplicationStateRunningReasonAssertionIdentifierKey = Resume;
        SBApplicationStateRunningReasonAssertionReasonKey = 10000;
    }
);}

有什么想法吗?

【问题讨论】:

    标签: xamarin xamarin.forms xamarin.ios


    【解决方案1】:

    欢迎来到 SO!

    尝试从模拟器中卸载应用程序,清理并重建以检查它是否有效。

    另外,Xamarin iOS 在发布模式时,需要启用调试

    按照以下步骤操作:iOS 属性 -> iOS 调试 -> 启用调试

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-10-08
      • 1970-01-01
      • 2016-02-27
      • 1970-01-01
      • 2014-04-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多