某些iPhone 5S设备上的TouchID崩溃 [英] TouchID crash on some iPhone 5S devices

查看:219
本文介绍了某些iPhone 5S设备上的TouchID崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在某些iPhone 5S设备上崩溃(只有一些)错误:

My app crashes on some iPhone 5S device (only some) with the error:


致命异常:NSInternalInconsistencyException意外错误:
Error Domain = NSCocoaErrorDomain Code = 4097操作不能完成
。(Cocoa error 4097.)(连接到名为
com.apple.CoreAuthentication.daemon的服务)UserInfo = 0x174461dc0
{NSDebugDescription =连接服务名为
com.apple.CoreAuthentication.daemon}

Fatal Exception: NSInternalInconsistencyException Unexpected error: Error Domain=NSCocoaErrorDomain Code=4097 "The operation couldn’t be completed. (Cocoa error 4097.)" (connection to service named com.apple.CoreAuthentication.daemon) UserInfo=0x174461dc0 {NSDebugDescription=connection to service named com.apple.CoreAuthentication.daemon}

打破应用程序如下:

LAContext().canEvaluatePolicy(LAPolicy.DeviceOwnerAuthenticationWithBiometrics, error: nil)

这是Apple的错误吗?
我在这里做错了什么?

Is this an Apple bug? What am I doing wrong here?

推荐答案

这是一个iOS错误。当API返回4097错误时,通常意味着负责处理请求的系统守护程序崩溃。您可以从设备中查找崩溃日志,并向Apple提交错误

It's an iOS bug. When an API returns a 4097 error, it usually means that the system daemon that was responsible for handling your request crashed. You can look for crash logs from the device and file a bug with Apple.

这篇关于某些iPhone 5S设备上的TouchID崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆