【问题标题】:HealthKit Error "database disk image is malformed"HealthKit 错误“数据库磁盘映像格式错误”
【发布时间】:2016-04-15 10:26:25
【问题描述】:

我在查询 HealthKit 时遇到了一个以前从未见过的新错误。我无法在测试环境中重现此错误,但已被用户报告。错误是:

错误域=com.apple.healthd.SQLite Code=1 "(null)"

UserInfo={NSUnderlyingError=0x1488aa550 {Error Domain=com.apple.SQLite Code=11 "数据库磁盘映像格式错误" UserInfo={NSLocalizedDescription=数据库磁盘映像格式错误}}}

我没有要发布的代码,所以如果这个问题不够具体,我很抱歉,但我想知道是否有其他人看到此错误消息,或者是否有任何已知的重现或恢复方法?

【问题讨论】:

  • 似乎是 HealthKit 内部实现的问题。
  • 能否提供您雷达的链接?

标签: ios healthkit


【解决方案1】:

此错误表明 HealthKit 数据库已损坏,不幸的是,除了重置设备以清除数据库之外,您无能为力。不过,首先你应该file a bug with Apple

【讨论】:

  • 谢谢,我已经提交了错误报告。
猜你喜欢
  • 2015-02-11
  • 2014-05-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-07-13
  • 1970-01-01
  • 2014-11-16
相关资源
最近更新 更多