gpt4 book ai didi

ios - Swift 3 Realm 在 IOS 10 模拟器上崩溃

转载 作者:行者123 更新时间:2023-11-29 11:52:57 24 4
gpt4 key购买 nike

我最近将一个包含 Realm Swift 的应用程序升级到了 Swift 3。我还将 Realm pod 升级到了支持 Swift 3 的最新版本。

使用 Swift 2.2 一切都很好我可以很好地构建应用程序。

当我在模拟器中运行应用程序时,当我执行第一个 Realm 命令并出现以下调试错误时它崩溃了

2016-10-31 21:53:59.652525 # MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.654172 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.655775 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.657456 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.661452 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.667299 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.671652 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.675755 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.680503 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.687101 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.691908 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-10-31 21:53:59.703852 MyAppName[3772:306703] [] nw_host_stats_add_src recv too small, received 24,

关于我如何解决或解决此问题的任何想法?

最佳答案

在使用 Crashlytics 时遇到了同样的事情。清除派生数据后,一切正常。

获取派生数据:

  1. Xcode > 首选项...
  2. 位置(选项卡)
  3. (双击)单击派生数据行上的圆圈(圆圈内有向右箭头)。
  4. 显示派生数据。删除其内容。

关于ios - Swift 3 Realm 在 IOS 10 模拟器上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40351366/

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