gpt4 book ai didi

Cordova SqlLite 插件在 iOS 9 上抛出 os_xpc_error

转载 作者:行者123 更新时间:2023-12-02 21:31:19 26 4
gpt4 key购买 nike

我正在使用 Cordova 2.2 和 davibe's SQLite plugin 。从 iOS 9 开始,该应用程序已停止工作,不断崩溃并出现内存警告。

我升级到 Cordova 5.4.0 和 Cordova-ios 4.0.1 以及 brodybits' SQLite Plugin :我收到的唯一错误来自 iOS,而且非常模糊:这只是一个 os_xpc_error,通信中断。

请参阅附图(iOS 8.4以上,iOS 9.2.1以下)Memory Usage in iOS 8 vs iOS 9

如何在 iOS9 中解决此问题?

最佳答案

问题最终是我们的一个 JSON 对象太大而无法在内存中处理。我将其移至应用程序缓存而不是 SQLite。奇怪的是,它仅对于 iOS 9 来说太大了。

关于Cordova SqlLite 插件在 iOS 9 上抛出 os_xpc_error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35066072/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com